Skip to content

Instantly share code, notes, and snippets.

@guyfedwards
guyfedwards / confirm.go
Created November 13, 2018 11:04 — forked from r0l1/confirm.go
Go (golang): How to ask for user confirmation via command line
/* MIT License
*
* Copyright (c) 2017 Roland Singer [roland.singer@desertbit.com]
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
@guyfedwards
guyfedwards / lodash-fp-documentation.md
Created January 19, 2018 11:16 — forked from jfmengels/lodash-fp-documentation.md
Generated docs for Lodash/fp. Help make them better at https://github.com/jfmengels/lodash-fp-docs
<script id="list" type="text/x-handlebars-template">
{{#each items}}
<li>
{{name}}
{{#if items}}
<ul>
{{> list}}
</ul>
{{/if}}
</li>
background: #6cab26;
background-image: url(IMAGE_URL); /* fallback */
background-image: url(IMAGE_URL), -webkit-gradient(linear, left top, left bottom, from(#6cab26), to(#6ceb86)); /* Saf4+, Chrome */
background-image: url(IMAGE_URL), -webkit-linear-gradient(top, #6cab26, #6ceb86); /* Chrome 10+, Saf5.1+ */
background-image: url(IMAGE_URL), -moz-linear-gradient(top, #6cab26, #6ceb86); /* FF3.6+ */
background-image: url(IMAGE_URL), -ms-linear-gradient(top, #6cab26, #6ceb86); /* IE10 */
background-image: url(IMAGE_URL), -o-linear-gradient(top, #6cab26, #6ceb86); /* Opera 11.10+ */
background-image: url(IMAGE_URL), linear-gradient(top, #6cab26, #6ceb86); /* W3C */
@guyfedwards
guyfedwards / OSX: Xampp fix
Created January 28, 2014 21:57
OSX: Xampp fix
sudu su
ps aux | grep mysql
kill -9 [process id]
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
export FUEL_ENV=production
<?= \Uri::create('assets/img/preloaders/large-search-preloader.gif');?>
<?php echo Lang::get('my_account') ?>