Skip to content

Instantly share code, notes, and snippets.

@brenopolanski
brenopolanski / index.html
Created November 21, 2015 23:45
Start, Stop and Reset Javascript SetInterval
<div class="btns">
<a href="" id="set" class="btn">Set/Reset</a>
<a href="" id="stop" class="btn">Stop</a>
</div>
<div id="container"></div>
@micc83
micc83 / mysqldump.php
Created June 5, 2017 13:17
Simple PHP script to dump a MySql database
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
$database = 'db';
$user = 'user';
$pass = 'pass';
$host = 'localhost';
@b-outlaw
b-outlaw / insert_newline_xcode.md
Created May 1, 2019 20:58
Xcode – Insert Newline Before/After
  1. Open below directory in Finder with Cmnd + Shift + G
/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/
  1. Open IDETextKeyBindingSet.plist with a text editor (not Xcode's plist editor).

  2. Add this in: