git clone <repo>
clone the repository specified by ; this is similar to "checkout" in some other version control systems such as Subversion and CVS
Add colors to your ~/.gitconfig file:
/* | |
* Copyright (C) 2015 Jake Wharton | |
* Modified work Copyright 2019 Phil Olson | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.
I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real
#!/bin/bash | |
for file in $(find . -name "*.md" -type f) | |
do | |
echo "file: $file" | |
filenamewithextension=${file##*/} | |
echo "file name with extension: $filenamewithextension" | |
mkdir ${filenamewithextension%.*} | |
echo "file name without extension: ${filenamewithextension%.*}" | |
mv ${filenamewithextension} ${filenamewithextension%.*}/${filenamewithextension} | |
done |
A list of useful commands for the ffmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
/* ==UserStyle== | |
@name No Score MAL | |
@version 20220416.23.57 | |
@namespace userstyles.world/user/androiddevnotes | |
@description Userstyle to hide score, views, and member count on MAL (MyAnimeList). This is so that you won't judge Anime, Manga, and Light Novels by ratings and views but give each one a fair chance. | |
@author androiddevnotes | |
@license No License | |
==/UserStyle== */ | |
@-moz-document url-prefix("https://myanimelist.net/") { |
/* ==UserStyle== | |
@name No Score MDL | |
@version 20220615.14.05 | |
@namespace userstyles.world/user/androiddevnotes | |
@description Userstyle to hide score, views, and member count on MDL (MyDramaList). This is so that you won't judge Dramas by ratings and views but give each one a fair chance. | |
@author androiddevnotes | |
@license No License | |
==/UserStyle== */ | |
@-moz-document domain("mydramalist.com") { |
package com.louiscad.splitties.eap.bottomsheet | |
import android.app.Activity | |
import android.view.ViewGroup | |
import androidx.activity.compose.BackHandler | |
import androidx.compose.material.ExperimentalMaterialApi | |
import androidx.compose.material.ModalBottomSheetLayout | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.DisposableEffect | |
import androidx.compose.runtime.LaunchedEffect |
# pip install pyautogui | |
# Reference: https://pyautogui.readthedocs.io/en/latest/mouse.html | |
import pyautogui, sys, time | |
# Set the timer interval (in seconds) | |
interval = 0 | |
print('Press Ctrl-C to quit.') |