View stickynote_font_fix.reg
This file contains 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
REGEDIT4 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts] | |
"Segoe Print (TrueType)"="consola.ttf" | |
"Segoe Print Bold (TrueType)"="consolab.ttf" |
View private.xml
This file contains 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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>TouchCursor</name> | |
<identifier vk_config="true">notsave.private_touchcursor</identifier> | |
<!-- IJKL --> | |
<autogen>--KeyToKey-- KeyCode::J, KeyCode::CURSOR_LEFT</autogen> | |
<autogen>--KeyToKey-- KeyCode::K, KeyCode::CURSOR_DOWN</autogen> | |
<autogen>--KeyToKey-- KeyCode::I, KeyCode::CURSOR_UP</autogen> |
View atom_dark_theme_scroll_fix.css
This file contains 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
/* | |
Taken from: | |
https://atom.io/themes/seti-ui | |
*/ | |
.scrollbars-visible-always { | |
/deep/ ::-webkit-scrollbar { | |
width: 8px; | |
height: 8px; | |
} |
View gist:8178a105d852fe178196
This file contains 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
Wednesday, August 24, 2011 | |
Configure PhpStorm to Auto-complete CakePHP Models, Views, and Controllers | |
After playing around a bit today I finally figured out how to get PhpStorm to auto-complete methods for models and controllers. Here's what you need to do. | |
Removing Multiple Definitions | |
First, let's tackle the multiple definitions problem that we see below. |
View index.html
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
footer { | |
background-color: black; | |
color: white; |
View gd_icon_inverse.sh
This file contains 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 | |
resource_path="/Applications/Google Drive.app/Contents/Resources/"; | |
bak=".bak"; | |
normal_inverse="mac-normal-inverse.png"; | |
normal_inverse_2x="mac-normal-inverse@2x.png"; | |
normal="mac-normal.png"; | |
normal_2x="mac-normal@2x.png"; |
View Compact.php
This file contains 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
<?php | |
$a = 'apple'; | |
$b = 'bone'; | |
$c = 'cat'; | |
$compacted = compact('a', 'b', 'c'); | |
var_dump($compacted); | |
/* | |
* Result: |
View Fibonacci.php
This file contains 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
<?php | |
echo 'Fibonacci'; | |
echo '<br>'; | |
/* | |
$temp1 + $temp2 = $tempTotal | |
00 + 01 = 1 | |
01 + 00 = 1 | |
01 + 01 = 2 | |
02 + 01 = 3 |
View Install package installer
This file contains 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
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation' | |
"theme" : "Soda Dark.sublime-theme" |