macOs:
cat << EOF >> ~/.bash_profile
# Add Visual Studio Code (code)
export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
EOF
{exp:channel:entries channel="homepage" limit="1" url_title="homepage_{location}"} | |
{english_features} | |
<li><a href="#">{count}</a></li> | |
{/english_features} | |
{/exp:channel:entries} | |
Output | |
<li><a href="#" class="ui-link">1</a></li> | |
<li><a href="#" class="ui-link">1</a></li> |
import { StateService } from "angular-ui-router"; | |
class Blah { | |
/* @ngInject */ | |
constructor( | |
private AlertManager: any, | |
private $state: StateService; | |
private $sce: angular.ISCEService, | |
) {} |
import { DataTableUserOptions } from "lib-ThemisUI/src/lib/thDataTable/data-table.interfaces"; | |
import { DatatableExportService } from "common/services/datatable-export-service/datatable-export.service"; | |
class DemoComponentController { | |
public dataTableOptions: DataTableUserOptions; | |
/* @ngInject */ | |
constructor( | |
private $q: angular.IQService, | |
private DatatableExportService: DatatableExportService, |
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.fontSize": 14, | |
"editor.fontFamily": "FiraCode-Retina", | |
"editor.fontLigatures": true, | |
"terminal.integrated.fontLigatures": false, | |
"typescript.check.tscVersion": false, | |
"editor.wordWrap": "off", | |
"files.insertFinalNewline": true, | |
"window.zoomLevel": 0, |
git push --delete origin tagName | |
git tag -d tagName |
# SSL self signed localhost for rails start to finish, no red warnings. | |
# 1) Create your private key (any password will do, we remove it below) | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password | |
$ openssl rsa -in server.orig.key -out server.key |
# 1.install gource using HomeBrew | |
$ brew install gource | |
# 2. generate a video for you repo. | |
$ cd your_repo_dir | |
$ gource \ | |
-s .1 \ | |
-1280x720 \ | |
--auto-skip-seconds .1 \ |