Skip to content

Instantly share code, notes, and snippets.

Hasan Tayyar BEŞİK hasantayyar

Block or report user

Report or block hasantayyar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
yantonov /
Last active Aug 23, 2019
How to install latest GHC from source + latest stack + cabal + cabal-install on ubuntu

How to install GHC from source + latest stack + cabal + cabal-install on ubuntu

for your convinience this instuction is available as:
git repo

preferred way install stack than install ghc

stack (package manager and build tool, preferrered way to manage dependencies)

# settings
View 2048.c
M[16],X=16,W,k;main(){T(system("stty cbreak")
]=l:0,++k,W|=2*!l,l=0);}w(d,i,j){return d?w(d
puts(""))printf(M[i]?"%4d|":" |",M[i]);W-2
mbostock / .block
Last active Feb 9, 2016
Merging Counties
View .block
license: gpl-3.0
jankotek / gist:9450559
Created Mar 9, 2014
MapDB overview video transcript
View gist:9450559
1 - Hello
Hello, I am Jan Kotek and in this podcast I will give you quick overview of MapDB;
an embedded java database engine.
2 - MapDB
Traditional Java collections are limited to a few gigabytes by garbage collector and heap size.
ihorvorotnov / get-social-shares
Last active Aug 9, 2019
Get number of shares from social platforms
View get-social-shares
+ works, returns shares, likes, comments and total
+ v1 API but still works
evancz / Main.html
Last active Sep 26, 2016
Embed an Elm module in HTML. Compile with `elm-make Stamper.elm` or just generate the HTML automatically by specifying an HTML output file with `elm-make Stamper.elm --output=Main.html`
View Main.html
<title>Embedding Elm in HTML!</title>
<script type="text/javascript" src="elm.js"></script>
<div id="stamper" style="width:50%; height:400px;"></div>

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
    • apache's home directory is /var/www/
yetithefoot / stuns
Last active Oct 30, 2019 — forked from zziuni/stuns
STUN+TURN servers list
View stuns
julionc /
Last active Nov 13, 2019
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
You can’t perform that action at this time.