Skip to content

Instantly share code, notes, and snippets.

View sadi304's full-sized avatar
🕶️

Sadi Mahmud sadi304

🕶️
View GitHub Profile
@ottokart
ottokart / punct_server.py
Created May 1, 2019 18:34
Simple script to serve a punctuation API on https://github.com/ottokart/punctuator2 (similar to http://bark.phon.ioc.ee/punctuator). need to change the configuration at the beginning of the file to point to the model file. Also, the script should be in the same dir as the other punctuator scripts. The Europarl model that I use in the demo (http:…
# coding: utf-8
from __future__ import division
from nltk.tokenize import word_tokenize
import models
import data
import theano
import tornado.ioloop
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active May 1, 2024 22:04
crack activate Office on mac with license file
@odan
odan / xmapp-replacing-mariadb-with-mysql.md
Last active June 4, 2023 19:44
XAMPP - Replacing MariaDB with MySQL

XAMPP - Replacing MariaDB with MySQL

This post has been deleted.

@apolloclark
apolloclark / postgres cheatsheet.md
Last active March 7, 2024 13:53
postgres cheatsheet

Postgres Cheatsheet

This is a collection of the most common commands I run while administering Postgres databases. The variables shown between the open and closed tags, "<" and ">", should be replaced with a name you choose. Postgres has multiple shortcut functions, starting with a forward slash, "". Any SQL command that is not a shortcut, must end with a semicolon, ";". You can use the keyboard UP and DOWN keys to scroll the history of previous commands you've run.

Setup

installation, Ubuntu

http://www.postgresql.org/download/linux/ubuntu/ https://help.ubuntu.com/community/PostgreSQL

@mdunisch
mdunisch / How you get Sail.js running on Openshift.md
Last active July 13, 2023 14:51
Get Sails.js running on Openshift

#How you get Sail.js running on Openshift#

This instruction is tested with:

  • Sails.js v0.9.16
  • Node.js 0.10 on Openshift ( 05 May 2014)

###1) package.json

If you use the package.json build by sails new Projectname than you have to add a few fields for openshift – so the server can start you app automatically. Sails uses Grunt to build minify css/js and so on. Openshift dont have grunt installed so you have to add this also.

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: