ebouchut + add   60

icefox/git-hooks: A tool to manage project, user, and global Git hooks
A tool to manage project, user, and global Git hooks - icefox/git-hooks
git  hook  manager  global  local  project  install  uninstall  add  remove  list  create  tools 
december 2018 by ebouchut
PostgreSQL 9.5: Insert IF not Exists, Update IF Exists (Insert ON CONFLICT option)
INSERT INTO tbl_Employee
VALUES (8,'Noor')
postgres  insert  if  not  present  SQL  table  row  entry  add 
february 2018 by ebouchut
Extending git | Atlassian Git Tutorial
git's extension model follows the Unix philosophy of composing small, simple programs to extend the functionnality of git.
git  add  create  script  command  extension  add-on  extend  CLI  shell  plugin  alias 
december 2017 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
Create OmniFocus Tasks with AppleScript — MacSparky
set theDate to current date
set theTask to "Pay Life Insurance"
set theNote to "Lovingly Scanned by your Mac on " & (theDate as string)

tell application "OmniFocus"
tell front document
set theContext to first flattened context where its name = "Tech"
set theProject to first flattened project where its name = "Finance"
tell theProject to make new task with properties {name:theTask, note:theNote, context:theContext}
end tell
end tell
omnifocus  create  add  task  apple  script  action  rule  hazel  notify  send  run  embedded 
october 2017 by ebouchut
OmniFocus URL Schemes
omnifocus  scheme  add  task  automate  hazel  rule  ios  launcher  iphone  launch  app  application  start 
september 2017 by ebouchut
Titanium Armor: Recovering From Various Disasters | Atlassian Git Tutorial
* How To Undo A (Soft) Reset And Recover A Deleted File
git checkout commit_SHA1~ -- filetxt

* If You Lose A Commit During An Interactive Rebase

* How To Undo reset --hard If You Only Staged Your Changes
Linux: find .git/objects/ -type f -printf '%TY-%Tm-%Td %TT %p\n' | sort | tail -5
MacOS: find .git/objects -type f | xargs stat -f '%SB %N' -t '%Y%m%dT%H%M%S' | sort | tail -5
git  disaster  recovery  lost  commit  erase  file  recover  remove  reset  hard  restore  find  search  undo  stat  index  add  cache 
february 2017 by ebouchut
Show/Edit vim plugin load path
" echo plugin load path
:set runtimepath?

" Add ~/.vim/plugin to the plugin load path
set runtimepath+=$HOME/.vim/plugin
vim  plugin  load  path  edit  add  change  from notes
february 2016 by ebouchut
christoomey/vim-quicklink: A Vim plugin for quickly looking up a topic in google and inserting the relevant link
Select Text
<Control><K> " Search Google for the selected text
<Tab> ... <Tab> " Navigate the search results
<CR> " Insert the markdown link for the selected result

<g><x> Open link under cursor;
<g><l> Go to link defintion under cursor.
vim  plugin  markdown  goto  open  URL  link  search  google  find  follow  insert  add 
february 2016 by ebouchut
garbas/vim-snipmate: snippets for Vim
snipMate.vim aims to be a concise vim script that implements some of TextMate's snippets features in Vim.
vim  snippet  insert  code  template  textmate  add 
january 2016 by ebouchut
seedbank gem gives your Rails seed data a little structure. Create seeds for each environment, share seeds between environments and specify dependencies to load your seeds in order. All nicely integrated with simple rake tasks.
"The seedbank gem might give you more control and modularity to your seeds. It inserts rake tasks and you can also define dependencies between your seeds.
Usually there are 2 types of seed data required. 1. basic data upon which the core of your application may rely. I call this the common seeds. Then there is the environmental data, for example to develop the app it is useful to have a bunch of data in a known state that us can use for working on the app locally (the Factory Girl answer above covers this kind of data).

In my experience I was always coming across the need for these two types of data. So I put together a small gem that extends Rails' seeds and lets you add multiple common seed files under db/seeds/ and any environmental seed data under db/seeds/ENV for example db/seeds/development.

I have found this approach is enough to give my seed data some structure and gives me the power to setup my development or staging environment in a know state just at the drop of a;

$ rake db:setup"

"Your rake task list will have these additions (e.g.):

rake db:seed # Load the seed data from db/seeds.rb, db/seeds/*.seeds.rb and db/seeds/ENVIRONMENT/*.seeds.rb. ENVIRONMENT is the current environment in Rails.env.
rake db:seed:bar # Load the seed data from db/seeds/bar.seeds.rb
rake db:seed:common # Load the seed data from db/seeds.rb and db/seeds/*.seeds.rb.
rake db:seed:development # Load the seed data from db/seeds.rb, db/seeds/*.seeds.rb and db/seeds/development/*.seeds.rb.
rake db:seed:development:users # Load the seed data from db/seeds/development/users.seeds.rb
rake db:seed:foo # Load the seed data from db/seeds/foo.seeds.rb
rake db:seed:original # Load the seed data from db/seeds.rb"
rails  rubyonrails  database  seed  gem  populate  data  add  insert 
january 2014 by ebouchut
Attaching files to Github issues
"This is a hack to work-around the lack of support for file attachments on the Github issue tracker."
github  issue  file  attachment  upload  markdown  image  insert  add 
november 2012 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

--set-upstream  --track  2.0  action  activerecord  ad  add  add-on  additional  ails  alfred  alias  amend  analytics  anchor  API  app  append  apple  applescript  application  apt  area  array  artwork  attachment  audio  authentication  automate  automation  bar  binding  bitbucket  block  bootstrap  branch  browser  build  bulk  cache  cancel  capture  case  category  change  child  chrome  CLI  clipboard  CMS  code  color  command  commit  compare  comparison  compute  concat  config  configuration  configure  connection  constaint  constraint  content  contribute  copy  core  create  CSS  customize  data  database  date  debian  default  define  delete  demo  diff  difference  diffget  diffobtain  diffput  diffupdate  dimension  directory  disaster  display  doc  document  documentation  drive  edit  editor  elasticsearch  element  emacs  embed  embedded  end  entry  erase  erb  event  export  extend  extension  factory_girl  fbootstrapp  feature  file  find  firefox  fix  flatten  flatui  folder  follow  font  foreign  form  free  fsck  fugitive  function  GA  Gedit  gem  generate  generator  GET  gist  git  git-svn  github  global  google  goto  Gread  Gstatus  Gwrite  GWT  hard  hazel  hook  howto  HTTP  icon  IDE  identity  if  image  improve  increase  index  insert  install  integrity  interaction  ios  iphone  issue  item  itunes  javascript  jquery  jumpstart  key  keyboard  keychain  keyword  last  launch  launcher  library  link  linux  list  listen  literate  load  local  lost  mac  macos  manage  manager  markdown  mass  member  menu  message  metadata  method  migration  mime-type  missing  mod  mode  model  modification  modify  move  mp3  mp4  multiple  music  new  not  note  notes  notify  null  of  omnifocus  online  open  opensource  org  org-mode  origin  overview  parameter  patch  path  plugin  podcast  populate  post  postgres  PPA  prefix  present  problem  programming  project  public  push  query  rails  railsv  rake  record  recover  recovery  referential  release  remote  remove  reset  resize  restore  reverse  revert  row  ruby  rubyonrails  rule  run  ruyonrails  s4m  schema  scheme  screencast  script  search  security  seed  selenium  send  server  set  setup  several  share  shell  shortcut  show  showcase  single  siri  site  size  snippet  software  source  SQL  ssh  ssh-agent  staging  standard  starred  start  stat  string  submit  substract  svn  swap  system  table  tag  task  team  template  test  text  textexpander  textmate  theme  TOC  tools  top  track  trigger  troubleshoot  tutorial  type  typography  ubuntu  undo  uninstall  Unread  update  upgrade  upload  upstream  url  values  video  view  vim  visit  voice  watch  web  widget  workflow  write 

Copy this bookmark: