Skip to content

Instantly share code, notes, and snippets.

View luisinder's full-sized avatar
:octocat:
Focusing

Luis Cajigas luisinder

:octocat:
Focusing
View GitHub Profile
@luisinder
luisinder / Monokai Sublime Text 4
Last active August 27, 2024 13:21
Monokai Sublime Text 4
# File: /Users/luis/Library/Application Support/Sublime Text/Packages/User/CustomMonokai.sublime-color-scheme
# Font: https://github.com/tonsky/FiraCode
{
"variables": {
"background": "#272822",
"foreground": "#F8F8F2",
"caret": "#F8F8F0",
"accent": "#AE81FF",
"red": "#F92672",
Listado de Proxies para Telegram
Copia y pega los enlaces en el navegador para que se abran con Telegram.
Añade los servidores y DESACTIVA el proxy mientras no lo necesites.
Podéis gestionarlos desde Ajustes > Datos y almacenamiento > Proxy
*23/03/2024*
tg://proxy?server=proxy.digitalresistance.dog&port=443&secret=d41d8cd98f00b204e9800998ecf8427e
@luisinder
luisinder / mac_setup.sh
Last active June 16, 2021 13:01
Install apps with Homebrew
#!/bin/bash
# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
brew install --cask cakebrew
brew install curl wget
@luisinder
luisinder / mysqlHelp.txt
Created November 16, 2016 10:38
Enable mysql command tool in Mac OS X
install MySQLWorkbench, then
export PATH=$PATH:/Applications/MySQLWorkbench.app/Contents/MacOS
@luisinder
luisinder / remove-atom-context-menu.reg
Last active February 22, 2022 13:28
Remove atom windows-context-menu
Windows Registry Editor Version 5.00
; Removes 'Open in Atom' from the context menu.
; windows-context-menu
[-HKEY_CLASSES_ROOT\*\shell\Open File in Atom]
[-HKEY_CLASSES_ROOT\Directory\shell\Open Folder in Atom]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Open Folder in Atom]
[-HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Open Folder in Atom]
@luisinder
luisinder / size_search.txt
Created January 14, 2016 15:58
Search files with size bigger than 25MB
find /var/www/ -type f -size +25000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
@luisinder
luisinder / chuleta.txt
Created August 12, 2015 21:50
Pasos para instalar las Guest Additions en Ubuntu
# su (pwd)
# apt-get update
# apt-get upgrade
# apt-get install build-essential
# apt-get install linux-headers-$(uname -r)
# apt-get install module-assistant
# module-assistant prepare
package com.example.testSingleton;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Toast;
public class ActivityA extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
@luisinder
luisinder / cloneallbranches
Created April 9, 2015 07:43
Git - clone all remote branches locally
#!/bin/bash
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master `; do
git branch --track ${branch#remotes/origin/} $branch
done
crack Sublime Text (2 and 3)
1. Open Sublime in a HEX editor (the executable file)
2. Find 43 33 33 42 30 32
3. Replace in the string 33 42 with 32 42
4. Save
5. Enter the license below:
—–BEGIN LICENSE—–
Patrick Carey