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
# Ubuntu | |
find / -type d -name .WebIde100 2> /dev/null | |
# Mac OS X | |
rm -rf "$HOME/Library/Preferences/WebIde100" | |
rm -rf "$HOME/Library/Caches/WebIde100" | |
rm -rf "$HOME/Library/Application Support/WebIde100" | |
rm -rf "$HOME/Library/Logs/WebIde100" |
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
'.platform-win32, .platform-linux': | |
'alt-f1': 'tree-view:reveal-active-file' | |
'.platform-linux, .platform-linux .command-palette atom-text-editor': | |
'ctrl-shift-a': 'command-palette:toggle' | |
'.platform-linux': | |
'ctrl-shift-n': 'fuzzy-finder:toggle-file-finder' | |
'.platform-linux atom-text-editor': |
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
rabbitmqadmin list users | |
+------------+------------------------------+---------------+ | |
| name | password_hash | tags | | |
+------------+------------------------------+---------------+ | |
| guest | ***************************= | administrator | | |
+------------+------------------------------+---------------+ | |
vim ~/.rabbitmqadmin.conf |
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
" https://github.com/romainl/ctags-patterns-for-javascript | |
set number | |
set nowrap | |
set showbreak=+++ | |
set textwidth=100 | |
set showmatch | |
set visualbell | |
set hlsearch | |
set smartcase |
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
#!/usr/bin/env python2.7 | |
# -*- coding: utf-8 -*- | |
import sys | |
from gi.repository import Gtk, Gdk, GdkPixbuf | |
from gi.repository import Granite | |
def show_about(sender = None): | |
about = Granite.WidgetsAboutDialog.new() |
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
Show hidden characters
[ | |
{ "keys": ["ctrl+shift+a"], "command": "show_overlay", "args": {"overlay": "command_palette"} }, | |
{ "keys": ["ctrl+shift+n"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, | |
{ "keys": ["ctrl+shift+alt+n"], "command": "goto_symbol_in_project" }, | |
{ "keys": ["ctrl+b"], "command": "goto_definition" }, | |
{ "keys": ["ctrl+alt+left"], "command": "jump_back" }, | |
{ "keys": ["ctrl+alt+right"], "command": "jump_forward" }, | |
{ "keys": ["ctrl+y"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, |
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
<?php | |
$rc = 0; | |
$host = '127.0.0.1'; | |
$user = 'root'; | |
$password = ''; | |
$database = 'test'; | |
$port = 3306; | |
$socket = null; |
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
// alac mysql.vala --pkg mysql --Xcc=-lmysqlclient | |
using Mysql; | |
int main (string[] args) | |
{ | |
int rc = 0; | |
string host = "127.0.0.1"; |
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
diff --git a/vapi/mysql.vapi b/vapi/mysql.vapi | |
index b0a0acb..fe217af 100644 | |
--- a/vapi/mysql.vapi | |
+++ b/vapi/mysql.vapi | |
@@ -257,6 +257,35 @@ namespace Mysql { | |
public bool data_seek (ulong offset); | |
} | |
+ | |
+ [CCode (cname = "MYSQL_BIND")] |
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
// valac --thread --pkg json-glib-1.0 json.vala | |
using Json; | |
int main(string[] args) { | |
size_t length; | |
string json; | |
string[] std_fields = { | |
"param1", "param2", "param3", | |
"param4", "param5", "param6" |