This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| -- Turkce isimler sozlugu twitter : http://twitter.com/baskindev | |
| CREATE TABLE `isimler` ( | |
| `id` int(11) NOT NULL AUTO_INCREMENT, | |
| `isimler` varchar(255) DEFAULT NULL, | |
| `cinsiyet` varchar(255) DEFAULT NULL COMMENT 'erkek : E , kadın : K , uniseks : U', | |
| PRIMARY KEY (`id`) | |
| ) ENGINE=InnoDB; | |
| -- ---------------------------- |
| package main | |
| import ( | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/rand" | |
| "encoding/base64" | |
| "fmt" | |
| "io" | |
| ) |
| { | |
| "snippets": [ | |
| { | |
| "match": {"global": true, "pkgname": ".", "fn": ".*_test.go"}, | |
| "snippets": [ | |
| {"text": "func Test", "title": "", "value": "func Test${1:ObjectName}${2:TestName}(t *testing.T) {\n\t$0\n}"}, | |
| {"text": "func Benchmark", "title": "", "value": "func Benchmark${1:ObjectName}${2:BenchmarkName}(b *testing.B) {\n\n\tb.StopTimer()\n\n\t$0\n\n\tb.StartTimer()\n\n\tfor i := 0; i < b.N; i++ {\n\t\t\n\t}\n\n}"}, | |
| {"text": "func Example", "title": "", "value": "func Example${1:ObjectName}${2:ExampleName}() {\n\n\t$0\n\n\t// Output:\n\t// \n\n}"} | |
| ] | |
| } |
| #!/bin/sh | |
| # install build dependencies | |
| sudo apt-get install git mono-mcs mono-gmcs mono-devel autoconf libtool g++ gettext libglib2.0-cil-dev libgtk2.0-cil-dev libglade2.0-cil-dev libgnome2.0-cil-dev libgconf2.0-cil-dev | |
| # add the ssl certs | |
| sudo certmgr -ssl -m https://go.microsoft.com | |
| sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net | |
| sudo certmgr -ssl -m https://nuget.org | |
| mozroots --import --sync |
| """ | |
| Requirements: | |
| * A Wordpress Blog | |
| * Ghost export file (json). | |
| * Python Packages: python-wordpress-xmlrpc | |
| >>> pip install python-wordpress-xmlrpc | |
| WARNING: |
This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
| const crypto = require("crypto") | |
| // The `generateKeyPairSync` method accepts two arguments: | |
| // 1. The type ok keys we want, which in this case is "rsa" | |
| // 2. An object with the properties of the key | |
| const { publicKey, privateKey } = crypto.generateKeyPairSync("rsa", { | |
| // The standard secure default length for RSA keys is 2048 bits | |
| modulusLength: 2048, | |
| }) |