Are you over 18 and want to see adult content?
More Annotations
A complete backup of specialtyfabricsreview.com
Are you over 18 and want to see adult content?
A complete backup of productoverlook.com
Are you over 18 and want to see adult content?
A complete backup of clarkfunctionalart.com
Are you over 18 and want to see adult content?
A complete backup of kostenloses-forum.com
Are you over 18 and want to see adult content?
A complete backup of truck-furniture.co.jp
Are you over 18 and want to see adult content?
A complete backup of publicartfund.org
Are you over 18 and want to see adult content?
A complete backup of generaltickets.com
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of www.nieuwsblad.be/cnt/dmf20200226_04865941
Are you over 18 and want to see adult content?
A complete backup of www.zerozero.pt/news.php?id=279224
Are you over 18 and want to see adult content?
A complete backup of actualite.lachainemeteo.com/actualite-meteo/2020-03-03/tempete-myriam-records-mensuels-de-vent-battus-a-pau
Are you over 18 and want to see adult content?
A complete backup of gol24.pl/derby-krakowa-2020-rekordy-serie-bohaterowie-czyli-30-najwazniejszych-faktow-z-historii-meczow-cra
Are you over 18 and want to see adult content?
Text
and
GOOGLE ANALYTICS SETUP FOR JEKYLL / MICHAEL LEE When using Minima, the author made it simple to include Google Analytics into your Jekyll project. Navigate to the _config.yml file, add the key google_analytics with your tracking ID as the value and boom you’ve now got Google Analytics on your site. But UPGRADE RBENV AND RUBY-BUILD / MICHAEL LEE Once you’ve run the four steps above, you should have the latest version of rbenv and ruby-build. Now you can compile and build thelatest versions
ADD CSS TO 11TY / MICHAEL LEE One of the things that was a bit confusing when first setting up an 11ty project was getting certain files and folders in the project’s folder structure from showing up in the output _site folder.. An example might be if you wanted to add some CSS to your site and all your CSS files live in a folder at the root of your project called css.By default, 11ty will not output this folder into its WHAT I LEARNED FROM SELLING MY BUSINESS FOR $1 / MICHAEL LEE Yup we sold the business for $1, 100 pennies, a Washington (Is that a thing?!). We decided to sell Print Squares for a dollar for a few reasons. The first reason was, the amount didn’t matter, what we valued was the lessons we’d learn in selling the business. Second, we wanted to make sure the ability to sell the business wasn’t just SWITCH WI-FI NETWORKS FROM MACOS TERMINAL / MICHAEL LEE As you can see, the -setairportnetwork option accepts three values. The first two are required and the third is optional. The first value is the network interface, which in the example above, I’ve set it to en0.. The next value where I’ve got, “Pizza Time” is the name ofthe network.
GIT UNSTAGE ALL FILES / MICHAEL LEE If you’ve accidentally staged all your changed files you can unstage them all by using git reset. This should put you back in the state you were before staging all your changes files. Allowing you to stage changed files individually before you commit. TOGGLE WORD WRAP IN VIM / MICHAEL LEE Command to toggle word wrap in Vim. While :set wrap will turn on word wrap in Vim and :set nowrap will turn off word wrapping, you can also use both commands with the ! (bang) symbol to toggle word wrap. So using either: :set wrap! or. :set nowrap! Will both toggle word wrap in the current document in the buffer. JQUERY .CHILDREN() VS .FIND() / MICHAEL LEE It wasn’t until I stumbled across jQuery’s .find () method that I discovered the way .children () works is that it only traverses a single level down in the DOM tree. The .find () and .children () methods are similar, except that the latter only travels a single level down the DOM tree. So using the example above, the first call to RESIZING TMUX PANES / MICHAEL LEE To resize tmux panes, you’ll first want to hit your prefix — ctrl + b by default — and then the colon key :. What this does is brings up a prompt at the bottom of your screen. Now you’ll want to type in resize-pane in the prompt, followed by a hyphen - and either D, U, L, R. Which you can probably guess stands for down, up, left and JEKYLL 101: CREATING A NEW POST AND PAGE / MICHAEL LEE Within the Jekyll project, you’ll find a folder called _posts. To create a new post you’ll need to create a new markdown file with a file name in this format: YYYY-MM-DD-title.markdown. The format is four-digit year, followed by a hyphen then two-digit month, followed by another hyphen and two-digit day, followed by a hyphenated titleand
GOOGLE ANALYTICS SETUP FOR JEKYLL / MICHAEL LEE When using Minima, the author made it simple to include Google Analytics into your Jekyll project. Navigate to the _config.yml file, add the key google_analytics with your tracking ID as the value and boom you’ve now got Google Analytics on your site. But UPGRADE RBENV AND RUBY-BUILD / MICHAEL LEE Once you’ve run the four steps above, you should have the latest version of rbenv and ruby-build. Now you can compile and build thelatest versions
ADD CSS TO 11TY / MICHAEL LEE One of the things that was a bit confusing when first setting up an 11ty project was getting certain files and folders in the project’s folder structure from showing up in the output _site folder.. An example might be if you wanted to add some CSS to your site and all your CSS files live in a folder at the root of your project called css.By default, 11ty will not output this folder into its WHAT I LEARNED FROM SELLING MY BUSINESS FOR $1 / MICHAEL LEE Yup we sold the business for $1, 100 pennies, a Washington (Is that a thing?!). We decided to sell Print Squares for a dollar for a few reasons. The first reason was, the amount didn’t matter, what we valued was the lessons we’d learn in selling the business. Second, we wanted to make sure the ability to sell the business wasn’t just SWITCH WI-FI NETWORKS FROM MACOS TERMINAL / MICHAEL LEE As you can see, the -setairportnetwork option accepts three values. The first two are required and the third is optional. The first value is the network interface, which in the example above, I’ve set it to en0.. The next value where I’ve got, “Pizza Time” is the name ofthe network.
GIT UNSTAGE ALL FILES / MICHAEL LEE If you’ve accidentally staged all your changed files you can unstage them all by using git reset. This should put you back in the state you were before staging all your changes files. Allowing you to stage changed files individually before you commit. TOGGLE WORD WRAP IN VIM / MICHAEL LEE Command to toggle word wrap in Vim. While :set wrap will turn on word wrap in Vim and :set nowrap will turn off word wrapping, you can also use both commands with the ! (bang) symbol to toggle word wrap. So using either: :set wrap! or. :set nowrap! Will both toggle word wrap in the current document in the buffer. JQUERY .CHILDREN() VS .FIND() / MICHAEL LEE It wasn’t until I stumbled across jQuery’s .find () method that I discovered the way .children () works is that it only traverses a single level down in the DOM tree. The .find () and .children () methods are similar, except that the latter only travels a single level down the DOM tree. So using the example above, the first call to RESIZING TMUX PANES / MICHAEL LEE To resize tmux panes, you’ll first want to hit your prefix — ctrl + b by default — and then the colon key :. What this does is brings up a prompt at the bottom of your screen. Now you’ll want to type in resize-pane in the prompt, followed by a hyphen - and either D, U, L, R. Which you can probably guess stands for down, up, left and FROM EMBER.JS TO REACT / MICHAEL LEE The main component to being able to pick up development with React coming from Ember.js was the concept of data down and actions up. If you’ve been an Ember.js developer for some time, you know when working with web components, this is how data and actions are interacted with across components. React uses similar concepts wheredata referred
GOOGLE ANALYTICS SETUP FOR JEKYLL / MICHAEL LEE When using Minima, the author made it simple to include Google Analytics into your Jekyll project. Navigate to the _config.yml file, add the key google_analytics with your tracking ID as the value and boom you’ve now got Google Analytics on your site. But UPGRADE RBENV AND RUBY-BUILD / MICHAEL LEE Once you’ve run the four steps above, you should have the latest version of rbenv and ruby-build. Now you can compile and build thelatest versions
LAUNCH WEBSITES FROM SPOTLIGHT USING TERMINAL COMMANDS IN To do this, make sure Terminal.app is in focus, then select Terminal > Preferences. Now select the Profiles tab and then Shell tab. Under the heading When the shell exits: you’ll want to select Close if the shell exited cleanly from the dropdown. Now when you run your Spotlight command, you won’t get the Terminal.app artifact. GOOGLE ANALYTICS GTAG SETUP FOR RAILS 5.2 / MICHAEL LEE To add the tracking ID to your credentials file, you’ll first open up the credential file by running: EDITOR="nvim" bin/rails credentials:edit. Where nvim is your text editor of choice. NeoVim is my editor of choice so that’s why I have EDITOR="nvim". If your editor is a GUI-based editor such as Code or Atom, you’ll also wantto pass --wait.
ACCESS ICLOUD DRIVE QUICKER IN TERMINAL BY CREATING A -s in the command above is the option according to man link the manual pages, is to create a symbolic link.. Then we pass the source folder and then pass in the desired destination folder, which in this case I used ~/iCloud.. So now from Terminal, I can easily get to INSTALLING NOVA'S COMMAND LINE TOOL / MICHAEL LEE Preferences. First open up Nova’s preferences by going to Nova in the top left hand corner and select Preferences.. Install the command line tool. Select the Tools tab.. Next to the heading Command Line Tool click on the button that says, Install.. Nova will then ask you to type in your user credentials so that it can continue to install the command line tool. CREATE A NEW JEKYLL PROJECT IN AN EXISTING Creating a new Jekyll project without an existing project folder is simple. Just run jekyll new project_name and the Jekyll command line tool will automatically create a new folder called project_name and scaffold all the files you new for a new Jekyll project.. But let’s say you’ve got an existing folder that you wanted to use for a newJekyll project.
SHOW THE CURRENT TIME IN A TMUX PANE / MICHAEL LEE Showing the current time in a tmux pane is a feature that I discovered by accident. Although I’ve got tmux setup to show the current time in the bottom right hand corner, I actually liked this accidental discovery as it looked nice with my terminal color scheme. PRECOMPILING RAILS ASSETS FOR PRODUCTION / MICHAEL LEE Precompiling Rails assets for production. Written on June 3, 2019. If you’re deploying your Rails application to a production environment, it’s ideal to precompile your assets. To do this, you’ll want to run, RAILS_ENV=production rails assets:precompile. RAILS_ENV=production tells Rails to compile the production version ofthe assets.
FROM EMBER.JS TO REACT / MICHAEL LEE The main component to being able to pick up development with React coming from Ember.js was the concept of data down and actions up. If you’ve been an Ember.js developer for some time, you know when working with web components, this is how data and actions are interacted with across components. React uses similar concepts wheredata referred
ADD CSS TO 11TY / MICHAEL LEE One of the things that was a bit confusing when first setting up an 11ty project was getting certain files and folders in the project’s folder structure from showing up in the output _site folder.. An example might be if you wanted to add some CSS to your site and all your CSS files live in a folder at the root of your project called css.By default, 11ty will not output this folder into its GOOGLE ANALYTICS SETUP FOR JEKYLL / MICHAEL LEE When using Minima, the author made it simple to include Google Analytics into your Jekyll project. Navigate to the _config.yml file, add the key google_analytics with your tracking ID as the value and boom you’ve now got Google Analytics on your site. But SWITCH WI-FI NETWORKS FROM MACOS TERMINAL / MICHAEL LEE As you can see, the -setairportnetwork option accepts three values. The first two are required and the third is optional. The first value is the network interface, which in the example above, I’ve set it to en0.. The next value where I’ve got, “Pizza Time” is the name ofthe network.
GIT UNSTAGE ALL FILES / MICHAEL LEE If you’ve accidentally staged all your changed files you can unstage them all by using git reset. This should put you back in the state you were before staging all your changes files. Allowing you to stage changed files individually before you commit. LIST ALL ROUTES FOR A RAILS APPLICATION / MICHAEL LEERAILS RAKE PRODUCTIONRAILS RAKE PRODUCTIONRAKE TASKS RAILSRUBY ON RAILS RAKERUBYON RAILS RAKE
To list all the routes available for a Rails application you can run this command from within the Rails project folder. This will list all the routes defined in an application, it’s HTTP method and other useful bits of information. I find this information handy in instances where I’m trying to use the link_to helper to generate links. INSTALLING NOVA'S COMMAND LINE TOOL / MICHAEL LEE Preferences. First open up Nova’s preferences by going to Nova in the top left hand corner and select Preferences.. Install the command line tool. Select the Tools tab.. Next to the heading Command Line Tool click on the button that says, Install.. Nova will then ask you to type in your user credentials so that it can continue to install the command line tool. ICLOUD DRIVE PATH IN TERMINAL / MICHAEL LEE One of the common commands I run on my MacBook Pro in Terminal is my editor of choice and then the path to my notes folder. It was pretty obvious before when all my notes was in Dropbox, but it wasn’t so obvious with iCloud Drive. ~/Library/Mobile\ Documents/com\~apple\~CloudDocs. ~/ being the user’s home folder. TOGGLE WORD WRAP IN VIM / MICHAEL LEE Command to toggle word wrap in Vim. While :set wrap will turn on word wrap in Vim and :set nowrap will turn off word wrapping, you can also use both commands with the ! (bang) symbol to toggle word wrap. So using either: :set wrap! or. :set nowrap! Will both toggle word wrap in the current document in the buffer. WHAT'S THE DIFFERENCE BETWEEN A TILDE (~) AND A CARET Major, minor and patch represent the different releases of a package. npm uses the tilde (~) and caret (^) to designate which patch and minor versions to use respectively. So if you see ~1.0.2 it means to install version 1.0.2 or the latest patch version such as 1.0.4. FROM EMBER.JS TO REACT / MICHAEL LEE The main component to being able to pick up development with React coming from Ember.js was the concept of data down and actions up. If you’ve been an Ember.js developer for some time, you know when working with web components, this is how data and actions are interacted with across components. React uses similar concepts wheredata referred
ADD CSS TO 11TY / MICHAEL LEE One of the things that was a bit confusing when first setting up an 11ty project was getting certain files and folders in the project’s folder structure from showing up in the output _site folder.. An example might be if you wanted to add some CSS to your site and all your CSS files live in a folder at the root of your project called css.By default, 11ty will not output this folder into its GOOGLE ANALYTICS SETUP FOR JEKYLL / MICHAEL LEE When using Minima, the author made it simple to include Google Analytics into your Jekyll project. Navigate to the _config.yml file, add the key google_analytics with your tracking ID as the value and boom you’ve now got Google Analytics on your site. But SWITCH WI-FI NETWORKS FROM MACOS TERMINAL / MICHAEL LEE As you can see, the -setairportnetwork option accepts three values. The first two are required and the third is optional. The first value is the network interface, which in the example above, I’ve set it to en0.. The next value where I’ve got, “Pizza Time” is the name ofthe network.
GIT UNSTAGE ALL FILES / MICHAEL LEE If you’ve accidentally staged all your changed files you can unstage them all by using git reset. This should put you back in the state you were before staging all your changes files. Allowing you to stage changed files individually before you commit. LIST ALL ROUTES FOR A RAILS APPLICATION / MICHAEL LEERAILS RAKE PRODUCTIONRAILS RAKE PRODUCTIONRAKE TASKS RAILSRUBY ON RAILS RAKERUBYON RAILS RAKE
To list all the routes available for a Rails application you can run this command from within the Rails project folder. This will list all the routes defined in an application, it’s HTTP method and other useful bits of information. I find this information handy in instances where I’m trying to use the link_to helper to generate links. INSTALLING NOVA'S COMMAND LINE TOOL / MICHAEL LEE Preferences. First open up Nova’s preferences by going to Nova in the top left hand corner and select Preferences.. Install the command line tool. Select the Tools tab.. Next to the heading Command Line Tool click on the button that says, Install.. Nova will then ask you to type in your user credentials so that it can continue to install the command line tool. ICLOUD DRIVE PATH IN TERMINAL / MICHAEL LEE One of the common commands I run on my MacBook Pro in Terminal is my editor of choice and then the path to my notes folder. It was pretty obvious before when all my notes was in Dropbox, but it wasn’t so obvious with iCloud Drive. ~/Library/Mobile\ Documents/com\~apple\~CloudDocs. ~/ being the user’s home folder. TOGGLE WORD WRAP IN VIM / MICHAEL LEE Command to toggle word wrap in Vim. While :set wrap will turn on word wrap in Vim and :set nowrap will turn off word wrapping, you can also use both commands with the ! (bang) symbol to toggle word wrap. So using either: :set wrap! or. :set nowrap! Will both toggle word wrap in the current document in the buffer. WHAT'S THE DIFFERENCE BETWEEN A TILDE (~) AND A CARET Major, minor and patch represent the different releases of a package. npm uses the tilde (~) and caret (^) to designate which patch and minor versions to use respectively. So if you see ~1.0.2 it means to install version 1.0.2 or the latest patch version such as 1.0.4. FROM EMBER.JS TO REACT / MICHAEL LEE The main component to being able to pick up development with React coming from Ember.js was the concept of data down and actions up. If you’ve been an Ember.js developer for some time, you know when working with web components, this is how data and actions are interacted with across components. React uses similar concepts wheredata referred
JEKYLL 101: CREATING A NEW POST AND PAGE / MICHAEL LEE Now that you’ve got your new post file, you’ll have to add in a few more things before you’re ready to write your post. Up at the top of your new post file, you’ll have to add in some Front Matter.Front Matter is the stuff you find at the top of posts and pages between a pair of ---triple-dashes. It is written in YAML, also known as YAML Ain’t Markup Language. LIST ALL ROUTES FOR A RAILS APPLICATION / MICHAEL LEE To list all the routes available for a Rails application you can run this command from within the Rails project folder. This will list all the routes defined in an application, it’s HTTP method and other useful bits of information. I find this information handy in instances where I’m trying to use the link_to helper to generate links. UPGRADE RBENV AND RUBY-BUILD / MICHAEL LEE Once you’ve run the four steps above, you should have the latest version of rbenv and ruby-build. Now you can compile and build thelatest versions
JQUERY .CHILDREN() VS .FIND() / MICHAEL LEE It wasn’t until I stumbled across jQuery’s .find () method that I discovered the way .children () works is that it only traverses a single level down in the DOM tree. The .find () and .children () methods are similar, except that the latter only travels a single level down the DOM tree. So using the example above, the first call to UPDATE RBENV'S RUBY-BUILD LIST / MICHAEL LEE Thanks for reading this article. I'd love to stay in touch and share more tips on programming and side projects with you. Sign up and I'll send you my articles straight to your email, you'll also get a free copy of the light themed version of my Git cheat sheet. ICLOUD DRIVE PATH IN TERMINAL / MICHAEL LEE Not the prettiest or even the most obvious path and I hope Apple moves it to make it more obvious in the future. Alternatively, you could create a symbolic link or symlink for short so you could access your iCloud Drive from the Terminal with a cleaner and more obvious path. CREATE A NEW JEKYLL PROJECT IN AN EXISTING Creating a new Jekyll project without an existing project folder is simple. Just run jekyll new project_name and the Jekyll command line tool will automatically create a new folder called project_name and scaffold all the files you new for a new Jekyll project.. But let’s say you’ve got an existing folder that you wanted to use for a newJekyll project.
HOW I USE SHORTCUTS ON IOS AND A TEMPLATE TO AUTOMATICALLY The shortcut itself is made up of eight actions and this is what it looks like, The first two steps gets the current date and assigns it to a variable called Title. The next three steps, gets the note titled, “Weekly template” within my Templates folder, takes the contents of the notes and assigns it to a variable called Body. ACCESS ICLOUD DRIVE QUICKER IN TERMINAL BY CREATING A So let’s say we’ll want to create a symlink to iCloud in your home folder ~. You’ll want to run this command, ln -s ~/Library/Mobile\ Documents/com\~apple\~CloudDocs ~/iCloud. -s in the command above is the option according to man link the manual pages, is to create a symbolic link. Then we pass the source folder and then pass in the ADD CSS TO 11TY / MICHAEL LEE One of the things that was a bit confusing when first setting up an 11ty project was getting certain files and folders in the project’s folder structure from showing up in the output _site folder.. An example might be if you wanted to add some CSS to your site and all your CSS files live in a folder at the root of your project called css.By default, 11ty will not output this folder into its FROM EMBER.JS TO REACT / MICHAEL LEE I love Ember.js! There, I’ve said it. I really do love working with Ember.js. I’ve been using it to build SPAs for about 3 years now and have not regretted the decision.. Recently, I’ve had the opportunity to work on a little side project with a friend of mine. GOOGLE ANALYTICS SETUP FOR JEKYLL / MICHAEL LEE Google Analytics is the goto web tool to understand web traffic that comes to your site. It provides useful information like, where a useris from, how long
JEKYLL 101: CREATING A NEW POST AND PAGE / MICHAEL LEEJEKYLL NEW POSTJEKYLL NEW POSTJEKYLL POST DATEJEKYLL POST DATE Now that you’ve got your new post file, you’ll have to add in a few more things before you’re ready to write your post. Up at the top of your new post file, you’ll have to add in some Front Matter.Front Matter is the stuff you find at the top of posts and pages between a pair of ---triple-dashes. It is written in YAML, also known as YAML Ain’t Markup Language. SWITCH WI-FI NETWORKS FROM MACOS TERMINAL / MICHAEL LEE As you can see, the -setairportnetwork option accepts three values. The first two are required and the third is optional. The first value is the network interface, which in the example above, I’ve set it to en0.. The next value where I’ve got, “Pizza Time” is the name ofthe network.
LIST ALL ROUTES FOR A RAILS APPLICATION / MICHAEL LEERAILS RAKE PRODUCTIONRAILS RAKE PRODUCTIONRAKE TASKS RAILSRUBY ON RAILS RAKERUBYON RAILS RAKE
Thanks for reading this article. I'd love to stay in touch and share more tips on programming and side projects with you. Sign up and I'll send you my articles straight to your email, you'll also get a free copy of the light themed version of my Git cheat sheet. GIT UNSTAGE ALL FILES / MICHAEL LEE Thanks for reading this article. I'd love to stay in touch and share more tips on programming and side projects with you. Sign up and I'll send you my articles straight to your email, you'll also get a free copy of the light themed version of my Git cheat sheet. INSTALLING NOVA'S COMMAND LINE TOOL / MICHAEL LEE Preferences. First open up Nova’s preferences by going to Nova in the top left hand corner and select Preferences.. Install the command line tool. Select the Tools tab.. Next to the heading Command Line Tool click on the button that says, Install.. Nova will then ask you to type in your user credentials so that it can continue to install the command line tool. TOGGLE WORD WRAP IN VIM / MICHAEL LEE Command to toggle word wrap in Vim. While :set wrap will turn on word wrap in Vim and :set nowrap will turn off word wrapping, you can also use both commands with the ! (bang) symbol to toggle word wrap. Sousing either:
WHAT'S THE DIFFERENCE BETWEEN A TILDE (~) AND A CARET The syntax is in JSON format where the key is the name of the package and the value is the version of the package to be used. npm uses the package.json file to specify the version of a package that your appdepends on.
ADD CSS TO 11TY / MICHAEL LEE One of the things that was a bit confusing when first setting up an 11ty project was getting certain files and folders in the project’s folder structure from showing up in the output _site folder.. An example might be if you wanted to add some CSS to your site and all your CSS files live in a folder at the root of your project called css.By default, 11ty will not output this folder into its FROM EMBER.JS TO REACT / MICHAEL LEE I love Ember.js! There, I’ve said it. I really do love working with Ember.js. I’ve been using it to build SPAs for about 3 years now and have not regretted the decision.. Recently, I’ve had the opportunity to work on a little side project with a friend of mine. GOOGLE ANALYTICS SETUP FOR JEKYLL / MICHAEL LEE Google Analytics is the goto web tool to understand web traffic that comes to your site. It provides useful information like, where a useris from, how long
JEKYLL 101: CREATING A NEW POST AND PAGE / MICHAEL LEEJEKYLL NEW POSTJEKYLL NEW POSTJEKYLL POST DATEJEKYLL POST DATE Now that you’ve got your new post file, you’ll have to add in a few more things before you’re ready to write your post. Up at the top of your new post file, you’ll have to add in some Front Matter.Front Matter is the stuff you find at the top of posts and pages between a pair of ---triple-dashes. It is written in YAML, also known as YAML Ain’t Markup Language. SWITCH WI-FI NETWORKS FROM MACOS TERMINAL / MICHAEL LEE As you can see, the -setairportnetwork option accepts three values. The first two are required and the third is optional. The first value is the network interface, which in the example above, I’ve set it to en0.. The next value where I’ve got, “Pizza Time” is the name ofthe network.
LIST ALL ROUTES FOR A RAILS APPLICATION / MICHAEL LEERAILS RAKE PRODUCTIONRAILS RAKE PRODUCTIONRAKE TASKS RAILSRUBY ON RAILS RAKERUBYON RAILS RAKE
Thanks for reading this article. I'd love to stay in touch and share more tips on programming and side projects with you. Sign up and I'll send you my articles straight to your email, you'll also get a free copy of the light themed version of my Git cheat sheet. GIT UNSTAGE ALL FILES / MICHAEL LEE Thanks for reading this article. I'd love to stay in touch and share more tips on programming and side projects with you. Sign up and I'll send you my articles straight to your email, you'll also get a free copy of the light themed version of my Git cheat sheet. INSTALLING NOVA'S COMMAND LINE TOOL / MICHAEL LEE Preferences. First open up Nova’s preferences by going to Nova in the top left hand corner and select Preferences.. Install the command line tool. Select the Tools tab.. Next to the heading Command Line Tool click on the button that says, Install.. Nova will then ask you to type in your user credentials so that it can continue to install the command line tool. TOGGLE WORD WRAP IN VIM / MICHAEL LEE Command to toggle word wrap in Vim. While :set wrap will turn on word wrap in Vim and :set nowrap will turn off word wrapping, you can also use both commands with the ! (bang) symbol to toggle word wrap. Sousing either:
WHAT'S THE DIFFERENCE BETWEEN A TILDE (~) AND A CARET The syntax is in JSON format where the key is the name of the package and the value is the version of the package to be used. npm uses the package.json file to specify the version of a package that your appdepends on.
FROM EMBER.JS TO REACT / MICHAEL LEE I love Ember.js! There, I’ve said it. I really do love working with Ember.js. I’ve been using it to build SPAs for about 3 years now and have not regretted the decision.. Recently, I’ve had the opportunity to work on a little side project with a friend of mine. JEKYLL 101: CREATING A NEW POST AND PAGE / MICHAEL LEE Now that you’ve got your new post file, you’ll have to add in a few more things before you’re ready to write your post. Up at the top of your new post file, you’ll have to add in some Front Matter.Front Matter is the stuff you find at the top of posts and pages between a pair of ---triple-dashes. It is written in YAML, also known as YAML Ain’t Markup Language. SWITCH WI-FI NETWORKS FROM MACOS TERMINAL / MICHAEL LEE As you can see, the -setairportnetwork option accepts three values. The first two are required and the third is optional. The first value is the network interface, which in the example above, I’ve set it to en0.. The next value where I’ve got, “Pizza Time” is the name ofthe network.
UPGRADE RBENV AND RUBY-BUILD / MICHAEL LEE Once you’ve run the four steps above, you should have the latest version of rbenv and ruby-build. Now you can compile and build thelatest versions
LIST ALL ROUTES FOR A RAILS APPLICATION / MICHAEL LEE Thanks for reading this article. I'd love to stay in touch and share more tips on programming and side projects with you. Sign up and I'll send you my articles straight to your email, you'll also get a free copy of the light themed version of my Git cheat sheet. LAUNCH WEBSITES FROM SPOTLIGHT USING TERMINAL COMMANDS IN Once you’ve added the command in your file, save and exit. Make sure Spotlight can find this file. Open your Spotlight preferences by going to System Preferences > Spotlight.Then under the Search Results tab, make sure to check the Developer option.. Your command is ICLOUD DRIVE PATH IN TERMINAL / MICHAEL LEE Not the prettiest or even the most obvious path and I hope Apple moves it to make it more obvious in the future. Alternatively, you could create a symbolic link or symlink for short so you could access your iCloud Drive from the Terminal with a cleaner and more obvious path. CREATE A NEW JEKYLL PROJECT IN AN EXISTING Creating a new Jekyll project without an existing project folder is simple. Just run jekyll new project_name and the Jekyll command line tool will automatically create a new folder called project_name and scaffold all the files you new for a new Jekyll project.. But let’s say you’ve got an existing folder that you wanted to use for a newJekyll project.
WHAT I LEARNED FROM SELLING MY BUSINESS FOR $1 / MICHAEL LEE A few weeks ago my partner, Christopher and I decided to sell our business, Print Squares – for a dollar. I thought I’d share why we did it, what we learned along the way and what’s coming up next. ACCESS ICLOUD DRIVE QUICKER IN TERMINAL BY CREATING A -s in the command above is the option according to man link the manual pages, is to create a symbolic link.. Then we pass the source folder and then pass in the desired destination folder, which in this case I used ~/iCloud.. So now from Terminal, I can easily get to Hey hey, I'm @michaelsoolee ! I'm a full-stack developer, maker of one too many side projects and dad.Home
About
Writings
Buy
Git cheat sheets
Save time with these clean, simple Git cheat sheets.Sponsorship
RSS REDISCOVERED
Written on January 2, 2020 I was never much of a heavy RSS user when Google Reader was around. I had an account, bought Reeder for iOS and occasionally used it but didn’t really appreciate the web standard. I always knew RSS existed and it was something you want to have available if you ran a website. But it never really stuck with me. Then I discovered podcasts. But the technology to consume podcasts kind of made the fact that it runs off of RSS invisible. The main source of where I consumed and discovered podcasts were through Apple iTunes. You didn’t have to individually subscribe to someone’s RSS feed to get access to their podcast, you went to the iTunes store and you searched for their show and then subscribed. Even now, I use Overcast and have never manually added a podcast show. The option to manually add shows is definitely there, but I can usually find shows using their search feature. Over the last few years I’ve been using Twitter to be my main source of how I kept up with news in my industry, industries I was interested and current affairs. But be it a side-affect of getting older or friends who have become quieter on the social media platform, I’ve been drawn to following folks and their personal blogs lately. I don’t think I’m alone in this shift. This past year, NetNewsWire, a macOS RSS reader —and my RSS reader of choice—released version 5.0. Since downloading the beta, I’ve started to read more RSS feeds and I admit, I’ve been enjoying it alot.
I’m still curating which blogs to follow. But it’s been nice to read things in longer form. I also like that the conversation is one-sided. I can read someone’s thoughts and opinions, without the noise of other people’s opinions about that original opinion. I can also follow and unfollow an RSS feed as I please without worrying about if the author will ever discover that I stopped following them like I sometimes do on Twitter. I truly hope more folks will embrace their own personal sites and start to share their ideas there. As I think RSS is making a come back and I’m happy to be rediscovering this standard that’s been around for more than two decades. While I haven’t set myself any goals with this new year. I do want to write more on this site. First for myself as writing is an exercise that I enjoy. Second I enjoy preserving my current thoughts and I don’t think I do it enough. And finally, if you’re reading this as a subscriber to my RSS, you’re a reason I want to write more. I want to provide something of worth to be subscribed to and taking the timeto read.
GIT CHEAT SHEETS
Written on December 9, 2019 Git is a tool that I use almost every day as a developer. It allows me to confidently make changes to my code and not worry about remembering what changes I made and when. On a team it also allows me to work concurrently with other developers and sanely pull our work together into a single code stream without going crazy. While I’ve used Git for quite some time now, I admit that I often find myself Googling for that one command that I can’t seem to care enough to remember but always find myself needing to use. If you’re familiar with the Google workflow, you might not think it takes up that much time. After all being able to Google well is like a necessity as a developer. Without giving it much thought your Google workflow might look likethis:
* Open up a browser
* Click into the URL bar * Type in the Git command description into the bar to search * Look over the list of results to decipher which of the resultslooks promising
* Click on a link to look at search result * Read content of page * If unsatisfied, click the back button * Search for next viable result * Repeat until you find the command you’re looking for * Copy command into your clipboard * Paste command into your terminal and hit enter to execute While the entire process might take a few minutes, those minutes could add up over time. Time instead which could be used solving a codingproblem.
Frustrated at how much time I was losing on Googling the Git commands, I decided to compile the most commonly used Git commands into a nice, simple and clean Git cheat sheet. So now my Git workflow looks like this: * Double click PDF on desktop * Look for header of the type of Git interaction I’m looking toexecute
* Scan list of commands, find the one that I need * Copy command into clipboard * Paste command into terminal and hit enter to execute That’s less than half the amount of steps it takes to Google for thesame command.
Not only do cheat sheets save you time, they look pretty nice too. * Comes in four color variations based off of popular editor syntax themes, Atom’s One light and dark theme, Wes Bos’ Cobolt2 and Sailorhg’s Fairy Floss * Uses Fira Mono for commands * Copy and pastable from PDF to command line The type of commands which are covered in the Git cheat sheets are: * Configuration variables * Creating repositories * File related commands* Branch
* Merge & rebase
* Logs
* Clean up
* Tags
* Stashes
If you’d like to save time with your Git workflow with these Git cheat sheets, you can buy them here . If you’d like to get a _free copy_ of the One light version of the Git cheat sheet, sign up for my newsletter . YOU ARE A SOFTWARE ENGINEER Written on October 19, 2019 A friend of mine is currently on the job hunt. He was sharing with me how hard it’s been. I’ve been on the job hunt before as a software engineer and know how hard it could be. It is scary, can be demoralizing and imposter syndrome feels like it is at its peak. As a way to encourage him, I’ve been thinking about truths that I feel could be said to him to help uplift him. The truths about him as a software engineer. I wanted to share these truths here for him, for those who might also be in the job hunt and also for me, to serve as encouragement for someone who often battles with imposter syndrome. > You are extremely smart.>
> You create enormous value.>
> You can solve hard problems.>
> You understand complex things.>
> You are patient.>
> You deserve what you’re being compensated and more.>
> You are not a coding monkey.>
> You make good contributions to your team.>
> You ask great questions.>
> You have the ability to do so much good.>
> You are creative.>
> You are resourceful.>
> You know enough.>
> You aren’t defined by an interview.>
> You don’t need to understand everything.>
> Your skills are highly desired.>
> You’re doing a great job.>
> You are not an imposter.>
> You are a software engineer. After I was done writing this list of truths, it reminded me of the Holstee manifesto . So I fired up Figma and also put together a poster-like version as well. MOVED SITE FROM NETLIFY TO RENDER Written on October 18, 2019 This site was built, deployed and hosted on Netlify for almost two years . There’s a lot to like about Netlify, from its easy-to-use interface to the thoughtful features that allows statically generated sites to have dynamic like features like analytics to forms. But for a few months now there was a part of my publishing process that was causing a little bit of resistance. That was that Netlify doesn’t support the latest versions of Bundler. My site is built using Jekyll. Jekyll being written in Ruby, relies on Bundler to handle package management. My own machine uses the latest version of Bundler, but Netlify is quite behind. At first, I got around this issue with just manually changing the Bundler version in the Gemfile.lock that is versioned. But that becomes a nuisance because I can’t just “publish” mylatest changes.
A few months back I had heard about a new service called Render. I had first heard about it through Lynne Tye of Key Values . Render looks to be creating a sweet set of products for web developers. One of them being, building, deploying and hosting static sites. So last night, I took Render for a spin. All I had to do was hook up my site’s repo. I made sure the Gemfile.lock file had the latest Bundler version and committed. Render immediately picked up the commit and started working away. I was expecting a build failure warning but to my delight, my site actually was built and deployed to their CDN. No doubt, Render had won me over. I pointed my DNS over to Render and that was that. My site is now happily hosted on Render . If you’ve got a Jekyll site and have issues deploying on Netlify, definitely give Render a try. By no means, is this article suggesting I’m not a fan of Netlify anymore. But for building Jekyll sites, Render doesn’t hinder mefrom publishing.
I’m also looking forward to hosting an application on Render soon with their app hosting and managed PostgreSQL databases.EPHEMERAL SOFTWARE
Written on October 17, 2019 I often drive by construction sites and have this feeling of envy. I romanticize about how nice it must be for a construction worker to be able to labor all day and at the end of it be able to stand back and look at the progress he/she has made for the day. How it must make them proud. That what they eventually build, could be seen for years if not decades to come. As a software developer, I’ve often felt I’ve put much effort into a day’s work. But don’t have the same satisfaction at the end of the day. I mean don’t get me wrong, I enjoy being able to solve problems. But at the end of the day, it’s hard for me to feel progress of something intangible. I mean yes, it’s lines and data that show up on the screen. But without electricity or even the Internet, what I build is so temporal in nature. And I’ve struggled with this dissatisfaction of working hard but often finding it hard to see tangible product. I recently heard Jared White describe the feeling that I’ve had as a software developer and the work that I produce. In episode 41 of Jared’s podcast (which by the way is a great episode on mental health, give it a listen) he uses the word ephemeral to describe the nature of what we produce as folks who work in the digital realm. I thought the word, ephemeral concisely described how I felt about my work—that it is short-lived ortemporary.
This afternoon, while on my usual lunch walk, I was passing by this park I often walk past. In the days past, I had noticed that there were some folks there cutting and doing some work at the park. I had assumed that they were doing repairs or building new benches. But today as I walked past, I took a peak at what they were doing. To my surprise they were making mosaics out of stone and placing it in apath.
I saw one of the guys who was working on the mosaic and gave him a thumbs up as a way to show that I was admiring the work that he was doing. He took off his ear muffs and waved me over. When I walked closer, past the lines of hazard tape, he uncovered a piece of tarp to reveal the latest mosaic. It was an amazing piece of dark gray stone, chiseled to look like a beetle. I was amazed at the meticulous care that he and his coworker had put into the piece. He shared about how he made the piece and what techniques and materials he used and I could tell I was talking to a master. He then showed me the rough layouts of what he claims will be a butterfly mosaic. He showed me a drawing of a template on a piece of cardboard box and he shared how it’s been keeping him up at night trying to figure out the design and layout. In my mind, I thought to myself, we aren’t so different him and I. As we’re both creatives who makethings.
He then made reference to the mosaic just a few feet away. He had shared that that was his work too but it was done several years back. He then pointed out the old mosaic—which was made out of stones and seashells—had flaws that he’s now able to see with the new skills and techniques he’s gained since the project. I shared a few more compliments then asked if he had a website and walked away. While walking back to the office I thought about the man who had made the dragonfly mosaic. That although he was commissioned once to make this piece, he could see the start and end. What was fascinating to me was that for him, he has a tangible product once he finishes his work. The constraints which determines whether his work is done is either a deadline or the resources for the mosaic isdepleted.
The mosaic will be there for a very, very long time. And the cool thing is, it’ll be there until the park either gets replaced, weather wears it away or some act of nature. But the mosaic has its purpose and doesn’t need to be enhanced. It does its thing, which I’m guessing is to provide an elegance to the park and that’s it. With software it’s quite the opposite and I think that’s the discomfort that I’m feeling about the work at times. Software is so volatile in nature. Operating systems are constantly being updated. A piece of software you put out has to constantly be updated to support the OS it is running on. Or if it’s a web application, something as little as the domain name expiring can cause the software to berendered useless.
If you’re building software for an employer, if the business is shut down, the server is simply turned off and the software doesn’t exist anymore. All the hard work you’ve put in with you colleagues…gone. While the work of the stone mason or the construction worker, long after his or her time is done with the work. It will persist. It will most likely exist longer than those who created it. Without the need to be modified or enhanced. Serving the purpose in which it was builtfor.
I’m still wrestling with this feeling. I think it is something I’ll always battle with for as long as I’m a software developer. I mean don’t get me wrong, I still find it really cool that I could take what’s in my imagination and use the digital tools at my fingertips and create something. It’s just that what is built is so temporary in nature. Perhaps this just means I need to spend some time outside of the digital realm and create something tangible that could be felt/held and is more “permanent”. Perhaps I’ll get back into making notebooks or furniture with my wife for our house. That might be the remedy for my battles with the ephemerality of my work. Anyways I’d also suggest you check out the stone mason, Brooks Burleson’s work on his website . If you scroll down and click on the section labelled, _Mosaic Garden Art_, you’ll be able to find the dragonfly mosaic I spoke about earlier. GIT NOT WORKING IN MACOS CATALINA WITH XCRUN ERROR Written on October 9, 2019 macOS Catalina was released on October 7, 2019. If you’re a developer and upgraded your Mac to the latest OS version, you might’ve been greeted with an error that look something like this if you use Git as your version control system, xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun The error itself provides a hint as to what you’d need to do to resolve the issue. In particular the part about the developer path /Library/Developer/CommandLineTools. You’ll need to reinstall the command line developer tools. To do this you’ll want to run this command in Terminal, xcode-select --install Terminal should respond with, xcode-select: note: install requested for command line developer tools Afterwards a system modal will be started indicating the progress of the installed of the command line developer tools. Once this process completes, you can get back to interacting with Git without errors. Check out more writings Copyright © 2013-20 Michael Lee Home About Writings BuyLinks
Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0