Skip to content

Instantly share code, notes, and snippets.

View coderberry's full-sized avatar

Eric Berry coderberry

View GitHub Profile
Android
Angular
Backend
Blockchain
CSS & Design
Cryptography
Database
DevOps
Developer Resources
Frontend
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
window.addEventListener("codefund", function(evt) {
if (evt.detail.status !== "ok") {
// Render ad from another network
}
});
</script>
(function() {
function embed () {
var evt = new Event('codefund');
<% if @advertisement_html -%>
try {
var targetElement = document.getElementById('codefund');
if (targetElement == null) { targetElement = document.getElementById('<%= @target %>'); }
targetElement.innerHTML = '<%= @advertisement_html.html_safe %>';
targetElement.querySelector('img[data-src="impression_url"]').src = '<%= @impression_url.html_safe %>&uplift=' + (window.abp === true);
targetElement.querySelectorAll('a[data-href="campaign_url"]').forEach(function (a) { a.href = '<%= @campaign_url.html_safe %>' });
# Life on Mesh
It’s a brilliant idea he shared
Thought the man without any hair
Time to see what this boy can do
“Vitalik, I believe in you”
So they started to get to work
It’s so crazy, it just might work
Now it’s ready, lets show them all
What it means to have a super pow’r
@coderberry
coderberry / sustain-summit-notes.md
Created October 30, 2018 22:54
Notes from Sustain Summit

Notes from Sustain Summit

Rowan - Company Funded OSS

  • Transparent in funding spending
  • Organization to accept funding
  • What can we expect from donations?
  • Provide progress via reporting back to the company
  • Pay projects to help sustain
  • Companies benefit in refactoring and recruitment
@coderberry
coderberry / codefund_api.md
Last active August 27, 2018 21:46
Server-to-server API ads via CodeFund
[
{
"role": "agent",
"delay": 180,
"typingDelay": 2300,
"text": "<p>Hi, I see you are looking for a job near <strong>{{location.text}}</strong>. Help me narrow your search results by answering a few questions.</p>"
},
{
"role": "agent",
"delay": 1500,
@coderberry
coderberry / .mertrc
Last active June 23, 2016 18:00
Functions that can be added to bashrc for iTerm 3
alltabs:
layout:
tabs:
-
root: "~/Code/Nuvi/gutenberg"
layout:
-
- |
title Gutenberg;
color green;
[
{
"name": "Matthew Russell",
"link": "https://twitter.com/mrussell247",
"avatar": "https://pbs.twimg.com/profile_images/517863945/mattsailing_400x400.jpg",
},
{
"name": "Julian Krispel-Samsel",
"link": "https://twitter.com/juliandoesstuff",
"avatar": "https://pbs.twimg.com/profile_images/477132877763579904/m5bFc8LF_400x400.png",
@coderberry
coderberry / online-safety.md
Last active November 29, 2015 15:44
Protecting your Family from Pornography

Pornography Stats:

  • 12% of the websites on the internet are pornographic
  • 25% of all search engine requests are pornography related
  • 35% of all internet downloads are pornographic
  • Utah has the nations highest online porn subscription rate: 0.54%
  • The average age at which a child first sees porn online is 11 years old.

Educate your kids

  • Set guidelines for how your children uses the computer and discuss those guidelines with them.
  • Do not let your child give out personal information, such as address, phone number, or school name, online.