Skip to content

Instantly share code, notes, and snippets.

Sunday Ayandokun Sunnepah

Block or report user

Report or block Sunnepah

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Sunnepah
Sunnepah / docker-cleanup-resources.md
Last active Oct 23, 2018 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks
View docker-cleanup-resources.md

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
View adams-heroku-values.md

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

@Sunnepah
Sunnepah / update-golang.md
Created Mar 6, 2018 — forked from nikhita/update-golang.md
How to update the Go version
View update-golang.md

How to update the Go version

System: Ubuntu 14.04 (Trusty Tahr)

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by:

View gist:930d5dd18ade0b5ced0c286608548259
Verifying my Blockstack ID is secured with the address 19cJB4AXTLAtmV5cxzX5BZr6caDjynggAk https://explorer.blockstack.org/address/19cJB4AXTLAtmV5cxzX5BZr6caDjynggAk
@Sunnepah
Sunnepah / reset-bitnami-jenkins-pwd
Created Feb 3, 2016 — forked from jackvz/reset-bitnami-jenkins-pwd
Reset Bitnami Jenkins password
View reset-bitnami-jenkins-pwd
1. SSH to server and edit /opt/bitnami/apps/jenkins/jenkins_home/config.xml
Set disableSignup to false: <disableSignup>false</disableSignup>
2. Restart
/etc/init.d/bitnami restart
3. Sign up via the web interface
4. Edit /opt/bitnami/apps/jenkins/jenkins_home/config.xml
Copy the user permissions for the default user and assign these to the newly signed up user
View DbmigrateController.php
<?php
/* * **
*
* This script converts an existing MySQL database to migrations in Laravel 4.
*
* 1. Place this file inside app/controllers/
*
* 2. In this file, edit the index() method to customize this script to your needs.
* - inside $migrate->ignore(), you pass in an array of table
View designer.html
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
You can’t perform that action at this time.