- Raindrop Search - https://github.com/westerlind/alfred-raindrop-search
- GitHub Search (very clean source code too!) - https://github.com/pawelgrzybek/alfred-github-search
- Google Drive - https://github.com/alfredapp/google-drive-workflow
- CoffeeCoffee, to prevent laptop to go into sleep mode - https://github.com/vitorgalvao/alfred-workflows/tree/master/CoffeeCoffee
- Search in the native Apple Notes app - https://github.com/sballin/alfred-search-notes-app
- Windows manager, resize computer's opened windows - https://github.com/pawelgrzybek/div
- Parse and stringify JSON - https://github.com/pawelgrzybek/alfred-json
- Password generator (generate random passwords of any length) - https://github.com/otherguy/alfred-passwords-workflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function doSearch(array, targetValue) { | |
var min = 0; | |
var max = array.length - 1; | |
var guess; | |
while (max >= min) { | |
guess = Math.floor((max + min) / 2 ); | |
if (targetValue === array[guess]) { | |
return guess; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## | |
## | |
## Get all Udemy Courses with 100% off Coupons thanks to growthcoupon.com & Importer.io | |
## | |
########## | |
from json import loads | |
from bs4 import BeautifulSoup | |
import mechanize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "alt+up", | |
"command": "cursorMove", | |
"when": "textInputFocus", | |
"args": { | |
"to": "up", | |
"by": "line", | |
"value": 2 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Pierre-Henry Soria | |
email = $EMAIL_ADDRESS | |
[init] | |
defaultBranch = main | |
[color] | |
diff = auto | |
status = auto |
- Space Mono (my favorite one)
- Fira Code (my second favorite one 😄)
- MonoLisa
- Inconsolata
- Apercu Mono
- Input Mono
- Gintronic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// generate a unique 6-digit OTP code | |
const generateOntTimeCode = () => Math.floor(Math.random() * 900000) + 100000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { StyleSheet, Text, TouchableOpacity, Linking } from 'react-native'; | |
interface PhoneLinkProps { | |
phoneNumber: string; | |
} | |
export const PhoneLink: React.FC<PhoneLinkProps> = ({ phoneNumber }) => { | |
const handlePress = () => { | |
Linking.openURL(`tel:${phoneNumber}`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
run '~/.tmux/plugins/tpm/tpm' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}' |
NewerOlder