Skip to content

Instantly share code, notes, and snippets.

View zayfod's full-sized avatar

Kaloyan Tenchov zayfod

  • Ann Arbor, MI, USA
View GitHub Profile
@zayfod
zayfod / mingw-terminal-here.reg
Created October 26, 2013 05:27
Windows registry file to add "MinGW terminal here" option to folders and drives in Windows Explorer. #misc #win #reg #mingw
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\bash]
@="MinGW terminal here"
[HKEY_CLASSES_ROOT\Directory\shell\bash\command]
@="c:\\MinGW\\msys\\1.0\\bin\\bash.exe --login -i -c 'cd \"$*\"; bash' bash %L"
[HKEY_CLASSES_ROOT\Drive\shell\bash]
@="MinGW terminal here"
@zayfod
zayfod / app.sublime-build
Last active April 7, 2022 22:31
deploy.sh - shell script for remote deployment and execution of programs using rsync and SSH.
// Example Sublime Text 3 project build system description for deploy.sh
{
"build_systems":
[
{
"cmd":
[
"C:\\cygwin\\bin\\bash.exe",
"$project_path\\deploy.sh",
"$project_path/",
@zayfod
zayfod / hello.js
Created August 1, 2013 05:29
JavaScript "hello world" program. #js #hello
//alert("Hello World!");
console.log("Hello World!");
@zayfod
zayfod / hello.sh
Created August 1, 2013 05:21
Shell/bash "hello world" program. #bash #hello
#!/bin/sh
echo "Hello World!"
@zayfod
zayfod / hello.php
Last active December 20, 2015 12:09
PHP "hello world" program. #php #hello
<!DOCTYPE html>
<html>
<body>
<?php
echo "Hello World!";
?>
</body>
</html>
@zayfod
zayfod / hello.java
Created August 1, 2013 05:16
Java "hello world" program. #java #hello
class App {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
@zayfod
zayfod / hello.lua
Last active December 20, 2015 11:59
Lua "hello world" program. #lua #hello
#!/usr/bin/lua
print("Hello World!")
@zayfod
zayfod / hello.pl
Last active May 6, 2019 15:45
Perl "hello world" program. #perl #hello
#!/usr/bin/perl
print "Hello, World!\n";
@zayfod
zayfod / hello.py
Last active December 20, 2015 11:59
Python "hello world" program. #python #hello
#!/usr/bin/env python
print "Hello World!"
@zayfod
zayfod / hello.c
Last active December 20, 2015 11:59
C "hello world" program. #c #hello
#include <stdio.h>
int main (void)
{
printf("Hello World!\n");
return 0;
}