Discover gists
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>2D Platformer Game</title> | |
<style> | |
canvas { | |
border: 1px solid black; | |
display: block; |
This file contains 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
import type { ReactElement } from "react"; | |
import { cloneElement, memo, useCallback } from "react"; | |
import { AlertV2 } from "@/components/AlertV2/alertV2Helpers"; | |
export interface DestructiveActionGuardProps { | |
children: ReactElement<{ onPress: () => void }>; | |
confirmationTitle?: string; | |
confirmationDescription?: string; | |
} |
This file contains 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
defmodule MyApp.Checks.UnverifiedMocks do | |
@moduledoc """ | |
#{__MODULE__} looks for test files that import Mox and use | |
the `expect/4` function, but do not enforce any assertions that | |
the expectations have been called or not either by running `verify_on_exit` | |
from a setup block or calling `verify!/0` or `verify!/1` inline | |
in a test block. | |
""" | |
@message """ |
This file contains 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
# alias radio='function __radio(){ r=`grep -v "#" radios_nacionales.txt | grep -m 1 -i $1 | cut -d" " -f1`; cvlc $r 2> /dev/null; }; __radio' | |
# podria utilizarse mplayer en vez de vlc | |
AMs Nacionales | |
http://cdn.instream.audio:9288/stream Radio Madre 530 | |
https://streaming1.hostingmontevideo.com:7019/; Radio Colonia 550 | |
http://server.laradio.online:25224/live.mp3 Radio Argentina 570 | |
http://playerservices.streamtheworld.com/api/livestream-redirect/CONTINENTAL_SC Continental 590 | |
https://streammax.alsolnet.com/radiorivadavia Rivadavia 630 |
This file contains 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 ( | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"encoding/hex" | |
"fmt" | |
"io" | |
) |
If you are on a Mac, substitute command
for control
. Don't type the + (it means press both keys at once).
-
Shift
+Enter
run selected cell or cells - if no cells below, insert a code cell below -
Ctrl
+B
toggle hide/show left sidebar -
Ctrl
+S
save and checkpoint -
Ctrl
+Shift
+S
save as
This file contains 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
Using XCode with github | |
======================= | |
0. These steps were pulled from the documentation on github | |
1. Create an empty repository on GitHub | |
do not initialize with a README | |
2. Note the SSH path to the new repository | |
git@github.com:quoha/derp-octo-sansa.git |
This file contains 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
Using XCode with github | |
======================= | |
0. These steps were pulled from the documentation on github | |
1. Create an empty repository on GitHub | |
do not initialize with a README | |
2. Note the SSH path to the new repository | |
git@github.com:quoha/derp-octo-sansa.git |
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
NewerOlder