- Go heavy. lifting heavy reminds your body to retain it's muscle. light/volume workouts when cutting aren't ideal.
- Hitting a muscle 72 times (72 reps) a week will make it grow. It takes 30% of that to maintain the muscle you have.
- Going heavy with 5x5 addresses the two previous points. I typically do 2 light sets to warm up before going into the heavy 5x5.
- Repeat the same lifts, with the same weights, in the same order if possible. This will allow you to see if you're losing or maintaining your strength.
- Calculate (220 - your age) * 0.6 and (220 - your age) * 0.7. That's your fat burning heart rate. 30min in that range should boost your metabolism for 48hrs.
- HIIT burns calories you've eaten today. LISS (what i described above) burns what you already have stored.
- Cardio is better after lifting, but I wont do it, if it's not first.
- I use the stairmaster for all of my cardio. It is considered one of the best forms of cardio in terms of fuctional and effectiveness.
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
// General ideas: | |
// - A project hides SQL in custom db package and exposes CRUD methods | |
// - I can generate that db package interface with protoc | |
// - time.Time has to be converted into timestamp.Timestamp for a gRPC service to use the value | |
// - database/sql writes to a time.Time and I convert that into timestamp.Timestamp. | |
// All conversions are kept in a single package. | |
// - gRPC has error types that map to SQL errors such as not found, already exists, etc. | |
// - database/sql will only write a timestamp to `time.Time` | |
// - I map errors like sql.ErrNoRows to gRPC's equivalent |
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
const dataset = [ | |
{ | |
"key":'a', | |
"children": [ | |
{ | |
"key":'a1', | |
"children": [ | |
{ | |
"key":'a1a', | |
"children": [], |
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
// example navigating to content #4 with reset | |
const action = NavigationActions.reset({ | |
index: 0, | |
actions: [ | |
NavigationActions.navigate({ routeName: 'Example', params: { title: '4' }}), | |
], | |
}); | |
// or example navigating to content #4 with navigate | |
const action = NavigationActions.navigate({ |
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
module.exports = { | |
"extends": "airbnb", | |
"plugins": [ | |
"react", | |
], | |
"parser": "babel-eslint", | |
"rules": { | |
"jsx-a11y/alt-text": 1, | |
"jsx-a11y/aria-role": 1, | |
"jsx-a11y/img-redundant-alt": 1, |
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 | |
// i made some pretend subscriptions, but used the same variable name as you. | |
$allMfSubs = array( | |
1 => array("id" => 1, "name" => "foo", "slug" => "1-foo", "for_sale" => true, "price" => 100), | |
2 => array("id" => 2, "name" => "bar", "slug" => "2-bar", "for_sale" => true, "price" => 200), | |
3 => array("id" => 3, "name" => "baz", "slug" => "3-baz", "for_sale" => true, "price" => 300), | |
4 => array("id" => 4, "name" => "cux", "slug" => "4-cux", "for_sale" => true, "price" => 400), | |
5 => array("id" => 5, "name" => "qux", "slug" => "5-qux", "for_sale" => true, "price" => 500), | |
); |
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
package main | |
import ( | |
"compress/gzip" | |
"encoding/json" | |
"io" | |
"net/http" | |
) | |
type GzipHandler struct { |
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
let colors_name = "ml" | |
syntax enable | |
set background=light | |
hi Comment ctermfg=gray ctermbg=NONE cterm=NONE | |
hi ColorColumn ctermfg=black ctermbg=lightgray cterm=NONE | |
hi Conceal ctermfg=black ctermbg=NONE cterm=NONE | |
hi Cursor ctermfg=black ctermbg=NONE cterm=NONE |
NewerOlder