racl101 + gist   28

Authentication Best Practices for Vue - Sqreen Blog | Modern Application Security
This tutorial has some good ideas about using vuex to implement authentication but at times it can be hard to follow because it uses es2015 syntax.
blog  tutorial  vue  vuejs  vue2  authentication  vuex  store  github  gist  example  howto  guide  reference  toread  tolearn  totry  tounderstand  javascript  es2015 
9 weeks ago by racl101
set git difftool to bbdiff
A useful Github gist demonstrating how to configure a non-preconfigured diff tool like bbdiff (BBEdit editor's diff tool) as the Git diff and/or merge tool.
github  gist  howto  example  global  configure  tool  software  utility  diff  merge  bbdiff  config  guide  reference 
january 2019 by racl101
How to use `git mergetool` to resolve conflicts
Here's a Github project specifically for learning to use vimdiff as the Git merge tool
github  gist  tutorial  howto  example  git  merge  tool  guide  reference  3  way  repository  toread  tolearn  totry  tounderstand 
january 2019 by racl101
Installing headless chrome on Ubuntu.
Shows how one might add the Chromium Browser (headless) apt repository to Ubuntu.
github  gist  script  shell  bash  howto  example  add  chromium  chrome  headless  browser  ppa  apt  repository  linux  ubuntu  ubuntu16.04  ubuntu18.04  guide  reference 
november 2018 by racl101
Script to open a mysql database in Sequel Pro from a service in docker-compose.
A gist of an Bash Shell Script to open up Sequel Pro MacOS / MacOS X app with credentials to view a MySQL database running within a Docker container.
github  gist  script  bash  shell  open  sequel  pro  sequelpro  database  mysql  docker  container  credentials  totry  guide  reference 
october 2018 by racl101
Reorder module to drop inside collection.liquid - may need CSS love. http://docs.shopify.com/manual/configuration/store-customization/advanced-navigation/add-a-reorder-drop-down-menu-to-a-collection-page
This snippet demonstrates how to implement a jump menu on a the collections.liquid template to choose a particular type of sorting for the product listing and it works by using JavaScript and Jquery. It works well. All you need to do is set the selectors correctly.
shopify  collection  template  product  listing  howto  example  jumpmenu  sort  by  sortby  ordering  price  title  best  selling  github  gist  javascript  jquery 
august 2018 by racl101
Ansible - Creating users and copying ssh keypair files to the remote server
This is a good example of how to use an Ansible playbook to create users, add them to one or more user groups, and give them passwords on a Linux system from a list of users (denoted as variables) and how to create .ssh directories for them. It's a good start. Works on Ubuntu 16.04 It also shows how to create a user group too.
github  gist  ansible  playbook  create  users  module  linux  ubuntu  ubuntu16.04  list  group  howto  example  guide  reference  ssh  key  remote 
july 2018 by racl101
Sidekiq init script
Need to figure out how to make this work.
gist  github  sidekiq  shell  bash  script  startup  worker  software  totry  tounderstand  linux  unix  howto  example  guide  reference 
june 2018 by racl101
pyenv setup instructions
This gist shows a pyenv installation on MacOSX with a virtual env and numpy, pandas and matplotlib
gist  github  howto  example  guide  reference  pyenv  installation  macosx  macos  numpy  pandas  matplotlib 
january 2018 by racl101
Rails Console Actionmailer test
Shows how to create a click class to test ActionMailer. Works on Rails console in production mode too.
Guide  Gist  rubyonrails4.2.0  Reference  Actionmailer  example  Rails  Github  Forum  rubyonrails  Howto 
november 2016 by racl101
php-ffmpeg concat audio filter - an incredibly simple filter to concat multiple audio files together. Should be easily tweaked to allow for videos too.
This saved my hide. It is an implementation of the concatenation audio filter of ffmpeg for the PHP FFMpeg Github library. Using this for the LAC transcoder app v2.
PHP  example  filter  CONCATination  Github  library  concatenate  Gist  ffmpeg 
january 2016 by racl101
WordPress › Support » WP Nav Menu Dissapears in Category Pages!
Solution for how to fix weird bug when using the 'pre_get_posts' filter hook to allow custom post type posts to show up in category.php template listings alongside regular posts, it causes the wordpress menus to not show up.
hook  filter  Github  nav  Howto  Pre_get_posts  Gist  WordPress  Fix  Menu  wp_nav_menu  customposttypes 
november 2015 by racl101
Show custom post types on tag, category and archive pages in Wordpress
Solution for how to fix weird bug when using the 'pre_get_posts' filter hook to allow custom post type posts to show up in category.php template listings alongside regular posts, it causes the wordpress menus to not show up.
hook  filter  Github  nav  Howto  Pre_get_posts  Gist  WordPress  Fix  Menu  wp_nav_menu  customposttypes 
november 2015 by racl101
Related Products by Tags — to add to product.liquid
Awesome solution to implement related products using tags in Shopify.
example  github  Gist  products  shopify  liquid  Related  howto  JavaScript 
february 2014 by racl101

related tags

Actionmailer  add  ansible  apt  authentication  automatic  aws  bash  bbdiff  best  bestpractices  blade  blog  browser  by  capistrano  chrome  chromium  cli  code  codesniffer  coding  collection  concatenate  CONCATination  config  configure  container  create  credentials  custom  customposttypes  database  deployment  development  diff  docker  documentation  envoy  es2015  example  examples  explanation  ffmpeg  filter  Fix  Forum  gist  git  github  gitignore  global  group  guide  headless  hook  howto  installation  javascript  jmespath  jquery  jumpmenu  key  keyboard  laravel  library  lineinfile  linux  liquid  list  listing  loading  macos  macosx  macosx10.10  matplotlib  Menu  merge  metafields  module  mysql  nav  numpy  open  ordering  pandas  php  php-fpm  phpcs  phpcs.xml  playbook  pool  postgresql  ppa  practices  Pre_get_posts  price  pro  product  products  projects  psr2  pyenv  Rails  rails4  redis  reference  related  remote  repository  rsync  Ruby  rubyonrails  rubyonrails4.2.0  ruleset  run  sample  script  selling  separate  sequel  sequelpro  Server  shell  shopify  shortcuts  sidekiq  sniffer  snippet  software  sort  sortby  ssh  standard  start  startup  store  sublime2  sublimetext  sublimetext3  task  template  texteditor  theme  title  tolearn  tool  toread  totry  tounderstand  tutorial  ubuntu  ubuntu14.04  ubuntu16.04  ubuntu18.04  unicorn  unix  users  utility  vue  vue2  vuejs  vuex  way  WordPress  worker  wp_nav_menu 

Copy this bookmark:



description:


tags: