View exports.js
module.exports = entry => pack(getModules(entry))
View gist:d0c3880ccc48c86e357f49cffa091c32
#First import all the files
for i in *.ovpn; do nmcli connection import file "$i" type openvpn; done
#Now save the script below on some location:
#!/bin/bash
# Changes password-flags from 1 to 0
sed -i 's/password-flags=1/password-flags=0/g' $1
View openpanzer-save.json
{"scenario":{"name":" During Operation Star","maxTurns":23,"date":"1943-02-25T23:00:00.000Z","atmosferic":1,"latitude":3,"ground":1,"turnsPerDay":0,"dayTurn":0,"reinforcements":{},"map":{"rows":39,"cols":44,"map":[[{"unit":null,"airunit":null,"terrain":0,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSel":false,"isAttackSel":false},{"unit":null,"airunit":null,"terrain":0,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSel":false,"isAttackSel":false},{"unit":null,"airunit":null,"terrain":0,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSel":false,"isAttackSel":false},{"unit":null,"airunit":null,"terrain":0,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSel":false,"isAttackSel":false},{"unit":null,"airunit":null,"terrain":0,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSel":false,"isAttackSel":false},{"unit":null,"airunit":null,"terrain":0
View activity_main.xml
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp">
<TextView
android:text="I’m in this corner"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
View build-result.txt
build hash: 0ddcddd0e3c9d9bce67e53cfd3dc8e1e9ec9b90d
commit: commit 0ddcddd0e3c9d9bce67e53cfd3dc8e1e9ec9b90d
Author: Jim <jim.morris@mobiledgex.com>
Date: Tue Jul 17 18:11:54 2018 -0500
Location verification with tokens and cookies (#79)
* location validation with token
View pack.js
function pack(modules) {
const modulesSource = modules.map(module =>
`${module.id}: {
factory: (module, require) => {
${module.source}
},
map: ${JSON.stringify(module.map)}
}`
).join()
View es6_vanilla_component.js
// This is essentially the ES6 version of
// http:/https://gist.github.com/jsfiddle.net/cferdinandi/nb40j6rf/6/?mc_cid=1d481e891a&mc_eid=a3f6fd745a
// working demo of this: https://repl.it/@iamwill123/Creating-components-with-es6-vanilla-javascript-Reactive-UI
// This is also still a working progress in terms of better best practices and etc.
/**
* A vanilla JS helper for creating state-based components
* @param {String|Node} elem The element to make into a component
* @param {Object} options The component options
*/
View SPListItemExtensions.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using Microsoft.SharePoint;
namespace MileageSite.Layouts.MileageSite
{
public static class SPListItemExtensions
View factory-function.js
// A factory function
(require, module) => {
/* Module Source */
}
View retrive-windows-10-key.vbs
Set WshShell = CreateObject("WScript.Shell")
MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))
Function ConvertToKey(Key)
Const KeyOffset = 52
i = 28
Chars = "BCDFGHJKMPQRTVWXY2346789"
Do
Cur = 0
x = 14