ebouchut + modify   37

macos - What does "@" signify in unix file permissions? - Ask Different
# List FILE's extended attributes
#~~~~~~~~~~~~~~~~~~~~~~~
ls -@l FILE

# Remove some ext. attributes
#~~~~~~~~~~~~~~~~~~~~~~~
sudo xattr -d com.apple.quarantine FILE
sudo xattr -d com.apple.metadata:kMDItemWhereFroms FILE
mac  macos  ACL  chmod  file  mode  filemode  read  write  execute  permission  change  remove  modify  set  list  at  @  sign  attribute  extended 
july 2018 by ebouchut
How can I change the author (name / email) of a commit?
Option 1: git rebase -i
---------

git rebase -i -p some_git_ref_here
# Use the "edit" action for the commit(s) for which you want to change the author name and email

# For each commit
git commit --amend --author="John Doe <john@doe.org>" --no-edit
git rebase --continue

Option 2: git filter-branch
---------

git filter-branch --env-filter '
WRONG_EMAIL="wrong@example.com"
NEW_NAME="New Name Value"
NEW_EMAIL="correct@example.com"

if [ "$GIT_COMMITTER_EMAIL" = "$WRONG_EMAIL" ]
then
export GIT_COMMITTER_NAME="$NEW_NAME"
export GIT_COMMITTER_EMAIL="$NEW_EMAIL"
fi
if [ "$GIT_AUTHOR_EMAIL" = "$WRONG_EMAIL" ]
then
export GIT_AUTHOR_NAME="$NEW_NAME"
export GIT_AUTHOR_EMAIL="$NEW_EMAIL"
fi
' --tag-name-filter cat -- --branches --tags
git  change  modify  author  name  email  commit  rewrite  history  rebase  interactive  amend  filter-branch 
february 2018 by ebouchut
Spark: Shortcut Manager
Spark is a powerful, and easy Shortcuts manager. With Spark you can create Hot Keys to launch applications and documents, execute AppleScript, control iTunes, and more...
You can also export and import your Hot Keys library, or save it in HTML format to print it.
Spark is free
mac  macos  shortcut  key  binding  manage  list  export  keyboard  set  define  create  add  change  update  modify  automate  automation  script  applescript  launch  run  trigger  software  free  itunes 
november 2017 by ebouchut
ttscoff/vitag: Ruy script to change the tags of MacOS files and folders
Vitag is a script for Mac OS X (10.9+) that reads files and folder paths and their current tags into a text document, opens it in an editor, and applies any tag changes when the file is saved and closed.
mac  macos  software  script  ruby  tag  modify  show  list  change  update  file  folder  directory  apply  tagging 
november 2017 by ebouchut
Sed in-place edit a file
# Remove comments in a Gemfile
# Edit and replace without using a temporary file (all in one swoop)

sed -i '' \
-e 's/#.*$//g' \
-e '/^[ \t]*$/d' \
Gemfile
sed  replace  file  edit  inline  change  modify  substitute  string  temporary  rename  from notes
march 2016 by ebouchut
Karabiner mapping for Dell Keyboard KB-212-B
#!/bin/sh

cli=/Applications/Karabiner.app/Contents/Library/bin/karabiner

$cli set remap.pc_style_copy_paste 1
/bin/echo -n .
$cli set remap.pc_application2fn 1
/bin/echo -n .
$cli set remap....
karabiner  macos  macosx  keyboard  mapping  map  key  change  modify  pc  export  import  102  touche  clavier  config  from notes
october 2015 by ebouchut
Seashore - Gimp based image editor for MacOS
"Seashore is another image editor based on the GIMP's technology, but has an interface that fits more with Mac OS X. It also focuses on providing basic image editing tools for most users rather than acting as a full replacement for Photoshop (or other expensive image editing software). If you just need to make basic edits, it is worth a look."

Source: http://lifehacker.com/5874394/the-best-image-editing-app-for-mac-os-x
image  editor  macos  mac  apple  photo  modify  edit  gimp 
may 2015 by ebouchut
BFG Repo-Cleaner by rtyley: The BFG is a simpler, faster alternative to git-filter-branch for cleansing bad data out of your Git repository history: Removing Crazy Big Files Removing Passwords, Credentials & other Private data
"The BFG is a simpler, faster alternative to git-filter-branch for cleansing bad data out of your Git repository history:

Removing Crazy Big Files
Removing Passwords, Credentials & other Private data

The git-filter-branch command is enormously powerful and can do things that the BFG can't - but the BFG is much better for the tasks above, because:

Faster : 10 - 720x faster
Simpler : The BFG isn't particularily clever, but is focused on making the above tasks easy
Beautiful : If you need to, you can use the beautiful Scala language to customise the BFG. Which has got to be better than Bash scripting at least some of the time.
"
git  remove  file  repository  modify  clean  password  credential  delete  history  filter-branch  private  key 
july 2014 by ebouchut
Debug/(Edit the code) of a gem installed locally
# Step 1: Assuming we want to add debugging instructions in source code of the gem XXX
bundle open XXX

# Step 2: Edit, Test, ...

# Step 3: Restore the gem to its pristine state (its initial sta...
gem  bundle  pristine  edit  local  cache  modify  change  debug  from notes
june 2014 by ebouchut
Firefox AddOn - UrlParams
"UrlParams displays the GET and POST parameters of a webside in Firefox/Mozillas sidebar, so that you can easily add/modify/remove parameters"
firefox  extension  plugin  add-on  query  string  parameter  URL  HTTP  GET  POST  submit  modify  add  remove 
april 2011 by ebouchut

related tags

$0  $PROGRAM_NAME  @  ACL  action  activerecord  add  add-on  agent  alternative  am  amend  app  apple  applescript  apply  aspect  at  attribute  attr_accessor  attr_reader  attr_writer  author  automate  automation  binding  browser  BSD  bullet  bundle  cache  cancel  change  changed  chmod  class  clavier  clean  CLI  command  commit  commiter  config  copy  create  credential  cursor  customize  cut  debian  debug  decrease  default  define  delete  destination  diff  directory  display  down  eblog  edit  editor  email  erb  event  execute  export  extended  extension  file  filemode  filesystem  filter  filter-branch  firefox  fix  folder  format  format-patch  free  fsevents  gem  geometry  GET  getter  gimp  git  heading  headline  height  history  HTTP  Illumos  image  imagemagick  import  increase  indent  indentation  index  inline  inotify  insert  interactive  issue  item  itunes  JSON  karabiner  keep  key  keyboard  kqueue  last  launch  ldmobile  level  line  link  linux  list  listen  local  location  mac  macbook  macos  macosx  manage  map  mapping  message  metadata  migration  mode  model  modified  modify  monitor  move  multiple  name  new  notification  notify  null  occurence  order  org  orgmode  paperclip  parameter  password  paste  path  pc  pdf  permission  photo  photoshop  plugin  POST  postgreSQL  postrgres  pristine  private  problem  process  processing  processor  properties  ps  query  rails  railsv  ratio  read  rebase  refactor  remove  rename  replace  repository  resize  resolution  reverse  revert  rewrite  ruby  rubyonrails  rubyonrais  run  running  ruyonrails  schema  screen  screenflow  script  sed  set  setter  short  shortcut  shorten  shortener  shortlink  show  sign  size  software  solaris  sorted  starred  stat  string  sublime  submit  substitute  table  tag  tagging  template  temporary  text  toggle  tool  toolbag  top  touche  transform  trigger  ubuntu  undo  unindent  unordered  up  update  url  user  vi  view  vim  watch  width  windows  write  xattr 

Copy this bookmark:



description:


tags: