- GitHub Search (very clean source code too!) - https://github.com/pawelgrzybek/alfred-github-search
- 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
- New File - https://alfred.app/workflows/zeitlings/new-file/
- Quick File Access - https://alfred.app/workflows/chrisgrieser/quick-file-access/
- Lorem Ipsum Generator https://alfred.app/workflows/alexchantastic/lorem-ipsum/
Deep Work Video
-
βDeep Work: Professional activities performed in a state of distraction-free concentration that push your cognitive capabilities to their limit. These efforts create new value, improve your skill, and are hard to replicate.β (3)
- Deep work is necessary to wring every last drop of value out of your current intellectual capacity. We now know from decades of research in both psychology and neuroscience that the state of mental strain that accompanies deep work is also necessary to improve your abilities.β (3)
-
βShallow Work: Noncognitively demanding, logistical-style tasks, often performed while distracted. These efforts tend to not create much new value in the world and are easy to replicate.β (6)
-- | |
-- Author: Pierre-Henry Soria <[email protected]> | |
-- Website: https://ph7cms.com | |
-- Copyright: (c) 2011-2019, Pierre-Henry Soria. All Rights Reserved. | |
-- License: GNU General Public License | |
-- | |
--- | |
-- Reset the pH7CMS, admin panel's IP restriction. | |
-- Sometimes, you cannot log in anymore to your admin panel, because your public IP changed, or your website is hosted on a localhost and cannot work with. |
<?xml version="1.0"?> | |
<info> | |
<ph7> | |
<social-dating-cms> | |
<upd-alert>false</upd-alert> | |
<name>NaOH</name> | |
<version>7.0.0</version> | |
<sql-shcema-version>1.3.6</sql-shcema-version> | |
<build>1</build> | |
</social-dating-cms> |
#!/bin/bash | |
## | |
# Author: Pierre-Henry Soria <[email protected]> | |
# Copyright: (c) 2012-2017, Pierre-Henry Soria. All Rights Reserved. | |
# License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. | |
## | |
accepted_ext="-name '*.php' -or -name '*.css' -or -name '*.js' -or -name '*.html' -or -name '*.xml' -or -name '*.xsl' -or -name '*.xslt' -or -name '*.json' -or -name '*.yml' -or -name '*.tpl' -or -name '*.phs' -or -name '*.ph7' -or -name '*.sh' -or -name '*.sql' -or -name '*.ini' -or -name '*.md' -or -name '*.markdown' -or -name '.htaccess'" | |
exec="find . -type f \( $accepted_ext \) -print0 | xargs -0 perl -wi -pe" |
If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.
Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.
If in doubt about what git is doing when you run these commands, just
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | π :tada: |
Version tag | π :bookmark: |
New feature | β¨ :sparkles: |
Bugfix | π :bug: |
ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}' |
########## | |
## | |
## Get all Udemy Courses with 100% off Coupons thanks to growthcoupon.com & Importer.io | |
## | |
########## | |
from json import loads | |
from bs4 import BeautifulSoup | |
import mechanize |
#!/usr/bin/env ruby | |
toc = "# Table of Contents\n" | |
newmd = "" | |
ARGF.each_line do |line| | |
newmd << line | |
next if !line.start_with?("#") | |
heading = line.gsub("#", "").strip |