Skip to content

Instantly share code, notes, and snippets.

@luizomf
luizomf / zsh.sh
Created August 21, 2021 16:35
Ativando ZSH no Ubuntu.
# ZSH
sudo apt install zsh -y
sudo apt-get install powerline fonts-powerline -y
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s /bin/zsh
# REBOOT
# sudo reboot
@baobabprince
baobabprince / DB27.226_microbiome_data.csv
Created May 7, 2024 11:05
Microbiome data for sample: DB27.226 . ASV column represent the sequence of specific bacteria. than there is the Taxonomic levels names. and the prevelance of specific bacteria in your gut and in the healthy population in israel. For further information about each bacteria, the last column contains a link to dbBact, showing information where the…
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
"Kingdom","Phyla","Class","Order","Family","Genus","Species","You","Population","ASV","link"
"k__Bacteria"," p__Bacteroidetes"," c__Bacteroidia"," o__Bacteroidales"," f__Prevotellaceae"," g__Prevotella"," s__copri",0.317892358258011,0.123966304244692,"TACGGAAGGTCCGGGCGTTATCCGGATTTATTGGGTTTAAAGGGAGCGTAGGCCGGAGATTAAGCGTGTTGTGAAATGTAGACGCTCAACGTCTGCACTGCAGCGCGAACTGGTTTCCTTGAGTACGCACAAAGTGGGCGGAATTCGTGG","http://dbbact.org/search_results?sequence=TACGGAAGGTCCGGGCGTTATCCGGATTTATTGGGTTTAAAGGGAGCGTAGGCCGGAGATTAAGCGTGTTGTGAAATGTAGACGCTCAACGTCTGCACTGCAGCGCGAACTGGTTTCCTTGAGTACGCACAAAGTGGGCGGAATTCGTGG"
"k__Bacteria"," p__Bacteroidetes"," c__Bacteroidia"," o__Bacteroidales"," f__S24-7"," g__"," s__",0.110209531635168,0.0315770158898006,"TACGGAGGATGCGAGCGTTATCCGGATTTATTGGGTTTAAAGGGAGCGCAGGCTGCGAGGCAAGTCAGCGGTCAAATGTCGGGGCTCAACCCCGGCCTGCCGTTGAAACTGTCCTGCTAGAGTTCGAGTGAGGTATGCGGAATGCGTTGT","http://dbbact.org/search_results?sequence=TACGGAGGATGCGAGCGTTATCCGGATTTATTGGGTTTAAAGGGAGCGCAGGCTGCGAGGCAAGTCAGCGGTCAAATGTCGGGGCTCAACCCCG
@RobFisher
RobFisher / flake.nix
Created February 9, 2024 17:39
Python in Flake example
{
description = "Python Packages Example";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
@NullArray
NullArray / HTTP-Proxy-Server.ps1
Created April 8, 2020 01:37
A little something to frustrate Micr$oft data mining operations.
#____ ____ __
#\ \ / /____ _____/ |_ ___________
# \ Y // __ \_/ ___\ __\/ _ \_ __ \
# \ /\ ___/\ \___| | ( <_> ) | \/
# \___/ \___ >\___ >__| \____/|__|
# \/ \/
#--Licensed under GNU GPL 3
#----Authored by Vector/NullArray
#
# Do't forget to run this as well.
@NullArray
NullArray / protonvpn-cli.sh
Created May 29, 2019 12:30
Proton VPN manage and install. (*Nix & OSX)
#!/usr/bin/env bash
######################################################
# ProtonVPN CLI
# ProtonVPN Command-Line Tool
#
# Made with <3 for Linux + macOS.
###
#Author: Mazin Ahmed <Mazin AT ProtonMail DOT ch>
######################################################
version=1.1.2
@Hardikanand1st
Hardikanand1st / rarreg.key
Last active May 7, 2024 11:07
WinRar free key rarreg.key
RAR registration data
Hardik
www.Hardik.live
UID=448c4a899c6cdc1039c5
641221225039c585fc5ef8da12ccf689780883109587752a828ff0
59ae0579fe68942c97d160f361d16f96c8fe03f1f89c66abc25a37
7777a27ec82f103b3d8e05dcefeaa45c71675ca822242858a1c897
c57d0b0a3fe7ac36c517b1d2be385dcc726039e5f536439a806c35
1e180e47e6bf51febac6eaae111343d85015dbd59ba45c71675ca8
2224285927550547c74c826eade52bbdb578741acc1565af60e326
Menu, MyMenu, Add, Item 1, Label
Menu, MyMenu, Disable, Item 1
Menu, MyMenu, Add, Item 2, Label
DllCall("SetTimer", "Ptr", A_ScriptHwnd, "Ptr", id := 1, "UInt", 2000, "Ptr", RegisterCallback("MyTimer", "F"))
Menu, MyMenu, Show
Return
Label() {
MsgBox, % A_ThisMenuItem
}
@dangovorenefekt
dangovorenefekt / blockmetatwitter.md
Last active May 7, 2024 11:06
Block Meta and Twitter (nginx)
; ----------------------------------------------------------------------------------------------------------------------
; Name ..........: TrayIcon library
; Description ...: Provide some useful functions to deal with Tray icons.
; AHK Version ...: AHK_L 1.1.13.01 x32/64 Unicode
; Original Author: Sean (http://goo.gl/dh0xIX) (http://www.autohotkey.com/forum/viewtopic.php?t=17314)
; Update Author .: Cyruz (http://ciroprincipe.info) (http://ahkscript.org/boards/viewtopic.php?f=6&t=1229)
; Mod Author ....: Fanatic Guru
; License .......: WTFPL - http://www.wtfpl.net/txt/copying/
; Version Date...: 2014 - 01 - 16
; Note ..........: Many people have updated Sean's original work including me but Cyruz's version seemed the most straight
@wpscholar
wpscholar / vagrant-cheat-sheet.md
Last active May 7, 2024 11:05
Vagrant Cheat Sheet

Typing vagrant from the command line will display a list of all available commands.

Be sure that you are in the same directory as the Vagrantfile when running these commands!

Creating a VM

  • vagrant init -- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.
  • vagrant init <boxpath> -- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example, vagrant init ubuntu/trusty64.

Starting a VM

  • vagrant up -- starts vagrant environment (also provisions only on the FIRST vagrant up)