Skip to content

Instantly share code, notes, and snippets.

View iykex's full-sized avatar
🍀
alive

mr•vybes iykex

🍀
alive
  • BitHub Inc.
  • Accra-Ghana, Africa
  • 16:34 (UTC)
  • X @nana_vybes
View GitHub Profile
@l1am9111
l1am9111 / youtube.js
Created March 22, 2013 18:18
YouTube Enhancer
// <![CDATA[
// ==UserScript==
// @name YouTube Enhancer
// @fullname YouTube Enhancer
// @description Download Link + Quality Selector + Rollover Preview + Media Controller + Media Resizer + More...
// @homepage http://userscripts.org/scripts/show/33042
// @icon http://s3.amazonaws.com/uso_ss/icon/33042/large.PNG?1245499122
// @updateURL http://userscripts.org/scripts/source/33042.meta.js
// @downloadURL http://userscripts.org/scripts/source/33042.user.js
// @author GIJoe
@dodyg
dodyg / gist:5823184
Last active March 29, 2024 03:59
Kotlin Programming Language Cheat Sheet Part 1

#Intro

Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3

Kotlin project website is at kotlin.jetbrains.org.

All the codes here can be copied and run on Kotlin online editor.

Let's get started.

@olivier-m
olivier-m / adb.sh
Created August 10, 2013 12:05
Remove all Google apps from an android phone. List of delete files from http://forum.xda-developers.com/showthread.php?t=1969755
# With your phone in debug mode, etc.
adb start-server
adb remount
adb shell < remove.sh
@notslang
notslang / twitter-verified-icon.svg
Last active March 22, 2023 14:01
The blue verified icon, extracted from Twitter's icon font & resized using Inkscape
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lukehedger
lukehedger / ffmpeg-compress-mp4
Last active June 23, 2024 09:29
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
@arvi
arvi / sublime-settings-osx.json
Last active March 28, 2022 06:07
Sublime Settings OSX
{
"auto_complete_triggers":
[
{
"characters": "<",
"selector": "text.html"
},
{
"characters": ".",
"selector": "source.js"
@heiswayi
heiswayi / repo-reset.md
Created February 5, 2017 01:32
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A
:: Made by Hoang Hung
@echo off
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if "%errorlevel%" NEQ "0" (
echo: Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo: UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs" & exit
)
if exist "%temp%\getadmin.vbs" del /f /q "%temp%\getadmin.vbs"
@aussielunix
aussielunix / README.md
Last active February 12, 2024 23:37
install script and config files for openvpn server with password auth on ubuntu 16.04

Openvpn Server install and config files

These scripts and config files are expected to be used as a cloudconfig and will install Openvpn server from the default Ubuntu 16.04 repository.
It is setup with certificates to prevent MITM attacks however uses username/password for client authentication.

The following is a generic client config.

client
@iykex
iykex / adb.sh
Created October 30, 2017 15:59 — forked from olivier-m/adb.sh
Remove all Google apps from an android phone. List of delete files from http://forum.xda-developers.com/showthread.php?t=1969755
# With your phone in debug mode, etc.
adb start-server
adb remount
adb shell < remove.sh