This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| cli=/Applications/Karabiner.app/Contents/Library/bin/karabiner | |
| $cli set remap.find_winstyle_no_term 1 | |
| /bin/echo -n . | |
| $cli set remap.optionL2commandL 1 | |
| /bin/echo -n . | |
| $cli set remap.controlL2commandL 1 | |
| /bin/echo -n . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var net = require('net'); | |
| function HttpRequest(host, port, path, method) { | |
| return { | |
| headers: [], | |
| port: 80, | |
| path: "/", | |
| method: "POST", | |
| socket: null, | |
| _setDefaultHeaders: function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ####### fdisk İle Diskte partition oluşturalım ####### | |
| root@server:~# fdisk /dev/sdc | |
| Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel | |
| Building a new DOS disklabel with disk identifier 0xddb8b91d. | |
| Changes will remain in memory only, until you decide to write them. | |
| After that, of course, the previous content won't be recoverable. | |
| Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| APIKEY=""; | |
| for f in old/*.png | |
| do | |
| echo "Compressed- $f" | |
| OPT=`curl -i --user api:$APIKEY --data-binary @$f https://api.tinypng.com/shrink | sed -ne 's/.*"\(http[^"]*\).*/\1/p'` | |
| echo $OPT | |
| ORG_FILE=`sed "s/old\///g" <<<"$f"` | |
| curl $OPT -o new/$ORG_FILE | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Default setup is given for MySQL with ruby1.8. If you're running Redmine | |
| # with MySQL and ruby1.9, replace the adapter name with `mysql2`. | |
| # Examples for PostgreSQL and SQLite3 can be found at the end. | |
| production: | |
| adapter: mysql2 | |
| database: redmine | |
| host: localhost | |
| username: redmine | |
| password: ****** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "ilceAd" : "Aricak", | |
| "ilceAdTitle" : "Aricak", | |
| "ilceAdSlug" : "aricak", | |
| "Ilce" : "E", | |
| "ilceKod" : 392, | |
| "toplamSandik" : 10, | |
| "acilanSandik" : 0, | |
| "kalanSandik" : 10, | |
| "acilanSandikOran" : 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| clear | |
| if [ "$#" -eq "0" ];then | |
| echo "Usage: sh $0 YOURMMCADRESS threadSize(optional)" | |
| echo "Example: sh $0 MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS 4" | |
| exit | |
| fi | |
| if [ "$#" -lt 2 ];then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| clear | |
| if [ "$#" -eq "0" ];then | |
| echo "Usage: sh $0 YOURMMCADRESS threadSize(optional)" | |
| echo "Example: sh $0 MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS 4" | |
| exit | |
| fi | |
| if [ "$#" -lt 2 ];then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| clear | |
| if [ "$#" -eq "0" ];then | |
| echo "Usage: sh $0 YOURMMCADRESS threadSize(optional)" | |
| echo "Example: sh $0 MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS 4" | |
| exit | |
| fi | |
| if [ "$#" -lt 2 ];then |