Skip to content

Instantly share code, notes, and snippets.

View FylmTM's full-sized avatar
🦀
Chillin.

Dmitry Vrublevsky FylmTM

🦀
Chillin.
View GitHub Profile
@passivestar
passivestar / Editor.tres
Last active April 10, 2024 20:07
Godot editor theme
[gd_resource type="Theme" load_steps=12 format=3 uid="uid://7bvxnk5n5imx"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6h42l"]
content_margin_left = 10.5
content_margin_top = 8.75
content_margin_right = 10.5
content_margin_bottom = 8.75
bg_color = Color(0.117647, 0.117647, 0.117647, 1)
draw_center = false
border_color = Color(1, 1, 1, 0.137255)
#!/bin/bash
###
### my-script — does one thing well
###
### Usage:
### my-script <input> <output>
###
### Options:
### <input> Input file to read.
### <output> Output file to write. Use '-' for stdout.
@arkadijs
arkadijs / _README.md
Last active September 19, 2015 20:07
Hackathon: Elixir of truth http://ldn.lv/events/224421036

Elixir hackathon

A 16-core Linux VM in the cloud with 104GB of RAM for running search engines:

ssh-add workshop.pem 
ssh elixir@elixir.hosting.lv

A smaller 8-core, 7GB RAM VM in the same zone for running performance tests:

ssh elixir@elixir-test.hosting.lv

@jexp
jexp / neo4j-cli
Created June 27, 2015 15:07
Script to start Neo4j with custom database, host and port
#!/bin/bash
echo "Usage bin/neo4j-cli [path/to/db] [host-or-ip] [port]"
DIR=${0%%neo4j-cli}
DB=${1-data/graph.db}
IP=${2-127.0.0.1}
PORT=${3-7474}
CONFIG=${DIR}../conf/neo4j-server.properties
@DavertMik
DavertMik / user.js.coffee
Last active December 12, 2015 07:49
BatmanJS current user
# user model
# single resource
class YourApp.User extends Batman.Model
@storageKey: 'user'
@resourceName: 'user'
@encode 'name'
@encode 'email'
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 17, 2024 15:03
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@erichurst
erichurst / database.yml.example mysql2
Created May 9, 2011 02:58
Rails 3 database.yml examples
# MySQL. Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql2
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql2
encoding: utf8