Skip to content

Instantly share code, notes, and snippets.

View tarikwaleed's full-sized avatar
🧑‍💻
Steadily Building .. Steadily Building

Tarik Waleed tarikwaleed

🧑‍💻
Steadily Building .. Steadily Building
View GitHub Profile
@CarlosDomingues
CarlosDomingues / python-poetry-cheatsheet.md
Last active May 5, 2025 10:57
Python Poetry Cheatsheet

Create a new project

poetry new <project-name>

Add a new lib

poetry add <library>

Remove a lib

@tedz2usa
tedz2usa / Installing SML-NJ on Ubuntu 18.04
Last active April 8, 2024 13:37
Installing SML-NJ on Ubuntu 18.04
Installation Tips for SML/NJ on Ubuntu 18.04
Ted Zhu
First, follow the steps outlined in the SML/NJ installation instructions for Unix:
http://smlnj.org/install/
The final step,
$ config/install.sh
@atyachin
atyachin / Android-Emulator-on-AWS-EC2.txt
Last active February 17, 2025 16:49
Installing and running Android Emulator on Amazon AWS EC2 (Ubuntu 16.04 / m5.xlarge)
Update (2022): https://gist.github.com/atyachin/2f7c6054c4cd6945397165a23623987d
Steps for installing the Android Emulator from EC2 console:
-----------------------------------------------------------
sudo apt install default-jdk
wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
unzip sdk-tools-linux-4333796.zip -d android-sdk
sudo mv android-sdk /opt/
export ANDROID_SDK_ROOT=/opt/android-sdk

How to install Laravel globally in Ubuntu

===================================================================

Open your terminal using Ctrl+Alt+T and type the following commands

Step 1: Install Laravel

composer global require "laravel/installer"
@achlendra
achlendra / stack (via linked list).cpp
Created October 29, 2016 16:57
stack implementation using linked list.
#include <iostream>
using namespace std;
struct Node{
int data;
Node *next;
};
class stack{
@v3rse
v3rse / done.js
Last active February 1, 2023 18:16
A simple command line todo list app written using Node.js. Run using `node ./done.js` or create an alias `alias done=node ./done.js`
//This is a simple command line todo list app
//Features
//-create todo item
//-list todo item
//-check todo item off list
//-delete todo item
var fs = require('fs');
@Hemant-Parihar
Hemant-Parihar / arrayStack
Last active February 19, 2023 16:18
Array Implementation of STACK (abstract data type) in C programming.
/* Array implementation of the stack */
#include<stdio.h>
#include<stdlib.h>
#define MAX_STACK_SIZE 5
typedef int boolean;
#define TRUE 1
#define FALSE 0
struct arrayStack {
# migrating from https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh
# Aliases
alias g='git'
#compdef g=git
alias gst='git status'
#compdef _git gst=git-status
alias gd='git diff'
#compdef _git gd=git-diff
alias gdc='git diff --cached'
@michaelmrose
michaelmrose / zathu
Created September 12, 2015 01:45
zathura config
# Zathura configuration file
# See man `man zathurarc'
# Open document in fit-width mode by default
set adjust-open "best-fit"
# One page per row by default
set pages-per-row 1
#stop at page boundries
@zchee
zchee / actionlist.vim
Last active May 11, 2025 14:13
IdeaVim actionlist
--- Actions ---
$Copy <M-C>
$Cut <M-X> <S-Del>
$Delete <Del> <BS> <M-BS>
$LRU
$Paste <M-V>
$Redo <M-S-Z> <A-S-BS>
$SearchWeb <A-S-G>
$SelectAll <M-A>
$Undo <M-Z>