Skip to content

Instantly share code, notes, and snippets.

View ENikS's full-sized avatar

Eugene Sadovoi ENikS

  • Newport Beach, CA
View GitHub Profile
@Edric1998
Edric1998 / gist:ddcbbc3743e68700ae9933b20af73914
Created September 14, 2022 22:52
Office 2021 Pro Plus Product Key
Free Office 2021 Pro Plus Product Key
GTGNV-Q7PCT-Q4TY2-J46CB-HVB28
W9NMP-YYYHJ-K7H94-P7VCF-8B7GW
BHHVN-JXRMV-MD89D-HHFFQ-9D89J
NPPRW-TJM2B-KQ98Y-DVCKH-KHK6W
J3CTN-WDYDH-68X68-JCJ62-76FP8
JJ6JN-BVRPW-67V9T-T7BFX-Y7W9J
KNDMK-WK8G7-4C76D-V2KWX-2YWC8
WYNCP-JV7FV-DB8F7-JJ8MH-8HW9J
M8TMP-Q7NBJ-VR8PV-9M96M-QJ4P8
@domenic
domenic / 0-github-actions.md
Last active April 8, 2024 23:35
Auto-deploying built products to gh-pages with Travis

Auto-deploying built products to gh-pages with GitHub Actions

This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.

A file below this one contains the steps for doing this with Travis CI. However, these days I recommend GitHub Actions, for the following reasons:

  • It is much easier and requires less steps, because you are already authenticated with GitHub, so you don't need to share secret keys across services like you do when coordinate Travis CI and GitHub.
  • It is free, with no quotas.
  • Anecdotally, builds are much faster with GitHub Actions than with Travis CI, especially in terms of time spent waiting for a builder.
@dazfuller
dazfuller / Data.java
Created January 4, 2012 12:55
Method for transforming XML to XML using XSLT for Java/Android
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.StringReader;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
@vbfox
vbfox / Mvvm.cs
Created December 7, 2011 23:56
CommandBindings from ICommands for WPF MVVM
namespace BlackFox
{
using System;
using System.Windows;
static class Mvvm
{
public static readonly DependencyProperty CommandBindingsProperty = DependencyProperty.RegisterAttached(
"CommandBindings", typeof(MvvmCommandBindingCollection), typeof(Mvvm),
new PropertyMetadata(null, OnCommandBindingsChanged));