Skip to content

Instantly share code, notes, and snippets.

@choco-bot
choco-bot / FilesSnapshot.xml
Created Jul 12, 2020
cmdhere v0.0.1 - Passed - Package Tests Results
View FilesSnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\cmdhere\cmdhere.nupkg" checksum="6DA74292D05947C2879F054A16E97163" />
<file path="C:\ProgramData\chocolatey\lib\cmdhere\cmdhere.nuspec" checksum="7982814475BCFF5F47DA91EA9FAE59D7" />
<file path="C:\ProgramData\chocolatey\lib\cmdhere\tools\chocolateyInstall.ps1" checksum="DC1F5F1E355316E2ED99C9F663AD182D" />
<file path="C:\ProgramData\chocolatey\lib\cmdhere\tools\chocolateyUninstall.ps1" checksum="ED5FB780FE21DFDC0AD76CF58BE21204" />
<file path="C:\ProgramData\chocolatey\lib\cmdhere\tools\cmdhere.ico" checksum="EFA05B2A2F9152E13854F3BB645F5645" />
</files>
</fileSnapshot>
View MainActivity.kt
@AndroidEntryPoint
class MainActivity : AppCompatActivity() {
@aafernands
aafernands / index.html
Created Jul 12, 2020
Lady Gaga Tribute Page
View index.html
<html>
<head>
</head>
<body>
<div id="main">
<h1 id="title>">Lady Gaga</h1>
<h4 id="subtitle">A star is Born</h4
</div>
@Coollision
Coollision / main_test.go
Created Jul 12, 2020
GOLANG Introduction into Testing: simple helper function
View main_test.go
func isTrue(t *testing.T, b bool) {
t.Helper()
if !b {
t.Fatal()
}
}
View glitch1.scss
* {
/*убираем отступы*/
margin:0;
padding:0;
}
body, html {
View app3.js
// frontend/src/App.js:45
if (chatClient && channel) {
return (
<div className="App">
<Chat client={chatClient} theme={'messaging light'}>
<Channel channel={channel}>
<Window>
<ChannelHeader />
<MessageList />
<MessageInput />
View index.html
<div id="app">
<h1>{{ header }}</h1>
<p>Feel free to edit the HTML, JavaScript and CSS in this playground. The preview will update in real-time, so that
you can visually explore your ideas.tset</p>
<button @click="sayHi">Say Hi <span class="fa fa-heart" /></button>
</div>
View app2.js
// frontend/src/App.js:15
async function register() {
const response = await fetch("http://localhost:8080/registrations", {
method: "POST",
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
firstName,
@wenlinzhang42
wenlinzhang42 / .block
Created Jul 12, 2020 — forked from uwcc/.block
2020 MDDN342 Assignment 1: Living Wallpaper
View .block
license: mit
height: 540
@Coollision
Coollision / main_test.go
Created Jul 12, 2020
GOLANG Introduction into Testing: simple table test
View main_test.go
func TestLastIndex(t *testing.T) {
tableTests := []struct {
name string
list []int
x int
want int
}{
{name: "singleElement", list: []int{1}, x: 1, want: 0},
{name: "2timesTheSame", list: []int{1, 1}, x: 1, want: 1},
{name: "notFound", list: []int{1, 1, 1, 2, 2, 1}, x: 3, want: -1},
You can’t perform that action at this time.