A mixin for writing @font-face rules in SASS.
Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.
@include font-face(Samplino, fonts/Samplino);| set scrolloff=8 | |
| set number | |
| set relativenumber | |
| set tabstop=4 softtabstop=4 | |
| set shiftwidth=4 | |
| set expandtab | |
| set smartindent | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'nvim-lua/popup.nvim' |
| const fs = require('fs'); | |
| const exec = require('child_process').exec; | |
| fs.watch('./', {encoding: 'buffer'}, (eventType, filename) => { | |
| if (filename) | |
| exec(`node ${filename}`, (err, stdout, stderr) => { | |
| if (err) { | |
| console.log(err); | |
| return; | |
| } | |
| console.log(`file ${filename} has changed`); |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Base64 Demo</title> | |
| <meta charset="utf-8"> | |
| <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js' type='text/javascript'></script> | |
| <script src='https://javascriptbase64.googlecode.com/files/base64.js' type='text/javascript'></script> |
| #/bin/bash | |
| set -e | |
| if [ -z "$(which brew)" ]; then | |
| echo "This script requires Homebrew." | |
| exit | |
| fi | |
| if [ -z "$VIRTUAL_ENV" ]; then |
| 'use strict'; | |
| /** | |
| * @ngdoc service | |
| * @name myApp.anchorSmoothScroll | |
| * @description | |
| * # anchorSmoothScroll | |
| * Service in the myApp. | |
| */ | |
| angular.module('myApp') |
| // ---------------------------------------------------------- | |
| // A short snippet for detecting versions of IE in JavaScript | |
| // without resorting to user-agent sniffing | |
| // ---------------------------------------------------------- | |
| // If you're not in IE (or IE version is less than 5) then: | |
| // ie === undefined | |
| // If you're in IE (>=5) then you can determine which version: | |
| // ie === 7; // IE7 | |
| // Thus, to detect IE: | |
| // if (ie) {} |