Discover gists
View 1.RegistrySnapshot.xml
<?xml version="1.0" encoding="utf-8"?> | |
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<user>S-1-5-21-1953236517-242735908-2433092285-500</user> | |
<keys> | |
<key installerType="Nsis" displayName="WPS Office (11.2.0.10017)" displayVersion="11.2.0.10017"> | |
<RegistryView>Registry64</RegistryView> | |
<KeyPath>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Kingsoft Office</KeyPath> | |
<DefaultValue /> | |
<InstallLocation><![CDATA[]]></InstallLocation> | |
<UninstallString><![CDATA[C:\Users\Administrator\AppData\Local\Kingsoft\WPS Office\11.2.0.10017\utility\uninst.exe]]></UninstallString> |
View README.txt
REMIX EXAMPLE PROJECT | |
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer. | |
It contains 3 directories: | |
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name. | |
2. 'scripts': Holds two scripts to deploy a contract. It is explained below. | |
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity. | |
SCRIPTS |
View MainActivity.java
package com.example.calljava_app; | |
import android.os.Bundle; | |
import androidx.annotation.NonNull; | |
import io.flutter.app.FlutterActivity; | |
import io.flutter.embedding.engine.FlutterEngine; | |
import io.flutter.plugin.common.MethodCall; | |
import io.flutter.plugin.common.MethodChannel; | |
import io.flutter.plugins.GeneratedPluginRegistrant; |
View untrusted-lvl5-solution.js
/****************** | |
* minesweeper.js * | |
****************** | |
* | |
* So much for Asimov's Laws. They're actually trying to kill | |
* you now. Not to be alarmist, but the floor is littered | |
* with mines. Rushing for the exit blindly may be unwise. | |
* I need you alive, after all. | |
* | |
* If only there was some way you could track the positions |
View serialize.cpp
#include <QtCore/QCoreApplication> | |
#include <qdatastream.h> | |
#include <qvector3d.h> | |
#include <qdebug.h> | |
#include <qtcpserver.h> | |
#include <qtcpsocket.h> | |
int main(int argc, char* argv[]) | |
{ |
View PostsDataSourceFactory.kt
class PostsDataSourceFactory( | |
private val apiService: PostsService, | |
private val compositeDisposable: CompositeDisposable | |
): DataSource.Factory<Int, Posts>(){ | |
val postsLiveDataSource = MutableLiveData<PostsDataSource>() | |
override fun create(): DataSource<Int, Posts> { | |
val postsDataSource = PostsDataSource(apiService, compositeDisposable) |
View gist:729c46712709790f7ea90d43457e6005
i'm an early |
View mkefistub.sh
#!/bin/sh | |
# Linux device, EFI label, EFI subdirectory, ESP disk, ESP num | |
# Edit these values before running | |
dev=/dev/nvme1n1p2 | |
label="Arch Linux (EFIStub)" | |
efidir=arch | |
disk=/dev/nvme1n1 | |
num=1 |
View index.pug
link(href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400" rel="stylesheet") | |
h1 Vue Carousel | |
script#v-carousel(type="x/template") | |
.card-carousel-wrapper | |
.card-carousel--nav__left( | |
@click="moveCarousel(-1)" | |
:disabled="atHeadOfList" | |
) |
View my-am-bypass.ps1
$Win32 = @" | |
using System; | |
using System.Runtime.InteropServices; | |
public class Win32 { | |
[DllImport("kernel32")] | |
public static extern IntPtr GetProcAddress(IntPtr hModule, string procName); | |
[DllImport("kernel32")] |
NewerOlder