- Export passwords from secrets as CSV file

 - Install 
brew install csvkit - Reorder columns 
csvcut -c name,website,identifier,secret,notes,oneTimePassword credentials.csv > reordered.csv - Rename columns 
sed '1s/.*/Title,URL,Username,Password,Notes,OTPAuth/' reordered.csv > credentials-ready-for-apple-passwords.csv 
  
    
      This file contains hidden or 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
    
  
  
    
  | ## Steps | |
| 1. Add password to keychain (Screenshot: https://u.lillefar.dk/q2BI5m) | |
| 2. Add snippet to espanso config file (default.yml) where some-password i identical to account name for your keychain. | |
| ``` | |
| - triggers: [":pass:"] | |
| replace: "{{output}}" | |
| vars: | |
| - name: output | 
  
    
      This file contains hidden or 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
    
  
  
    
  | var casper = require('casper').create(); | |
| var fs = require('fs'); | |
| var pages = []; | |
| casper.start('http://iconmonstr.com/page/2', function () { | |
| var pageNumbers = this.evaluate(function () { | |
| return $('a.page-numbers:nth-child(7)').html(); | |
| }); | 
  
    
      This file contains hidden or 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
    
  
  
    
  | # Create a Bitbucket repo | |
| function bbcreate () { | |
| if [ $# == 1 ]; then # Passing an parameter? | |
| curl -s -S -X POST --user $BITBUCKET_USER:$BITBUCKET_PASS "https://api.bitbucket.org/2.0/repositories/lajlev/$1" -d "is_private=true" # Create a private repo | |
| git init # Init local git repo | |
| git remote add origin [email protected]:$BITBUCKET_USER/$1.git # Add Bitbucket repo as git remote | |
| printf "\n\n\n 🍄 https://bitbucket.org/$BITBUCKET_USER/$1 created\n\n" # Confirm messsage | |
| else # No parameter | |
| printf "\n Please enter a repo name 👍\n\n" | |
| fi | 
  
    
      This file contains hidden or 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 bbcreate(){ | |
| curl -s -S -X POST -v -u lajlev:$BITBUCKET_PASS -H "Content-Type: application/json" \ | |
| https://api.bitbucket.org/2.0/repositories/lajlev/$1 \ | |
| -d '{"scm": "git", "is_private": "true", "fork_policy": "no_public_forks" }' > /dev/null | |
| printf "\n 🍄 https://bitbucket.org/lajlev/$1 created\n\n" | |
| } | |
| function bbdelete(){ | |
| read -r -p "Delete https://bitbucket.org/lajlev/$1 ? [y/N] " response | |
| response=${response,,} | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #!/bin/sh | |
| # Requires sketch and Sketchtool | |
| # Q: How to enable it? | |
| # A: Add it to your repo pre-commit hook | |
| # Q: What does it do? | |
| # A: It creates a .exportArtboards folder with all artboards as PNGs, | |
| # so you easily can see changes in GIT 🎊. | |
  
    
      This file contains hidden or 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
    
  
  
    
  | <?php | |
| // Create a new slack slash command https://my.slack.com/services/new/slash-commands | |
| header('Content-Type: application/json; charset=utf-8'); | |
| # Grab token from the slash command. | |
| $token = $_POST['token']; | |
| # Check the token and make sure the request is from our team | 
  
    
      This file contains hidden or 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
    
  
  
    
  | for i in *.jpg; do convert $i -colorspace Gray gray/$i; done | 
  
    
      This file contains hidden or 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
    
  
  
    
  | wp-create() { | |
| wp core download | |
| git init | |
| gi wordpress >> .gitignore | |
| mysql -uroot -proot -e "create database $1;" | |
| wp core config --dbname=$1 --dbuser=root --dbpass=root | |
| wp core install --url=http://$1.wp --title=$1 --admin_user=lajlev --admin_password=7913 [email protected] | |
| } | 
NewerOlder