Skip to content

Instantly share code, notes, and snippets.

Cymen Vig cymen

Block or report user

Report or block cymen

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
View breadcrumbs-showing.html
<html>
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<link rel="stylesheet" href="https://unpkg.com/formiojs@latest/dist/formio.full.min.css">
<script src="https://unpkg.com/formiojs@latest/dist/formio.full.min.js"></script>
<script type="text/javascript">
window.onload = function() {
Formio.icons = 'fontawesome';
Formio.createForm(document.getElementById('formio'), 'https://udhkdmwfegsesuy.form.io/mi');
View breadcrumbs-showing.json
{
"display":"wizard",
"components":[
{
"id":"e7lqmy9",
"key":"page1",
"path":"page1",
"tags":"",
"tree":false,
"type":"panel",
View form.json
{"display": "wizard", "components": [{"id": "e7lqmy9", "key": "page1", "path": "page1", "tags": "", "tree": false, "type": "panel", "input": false, "label": "Page 1", "logic": [], "theme": "default", "title": "Page 1", "hidden": false, "prefix": "", "suffix": "", "unique": false, "widget": null, "dbIndex": false, "overlay": {"top": "", "left": "", "page": "", "style": "", "width": "", "height": ""}, "tooltip": "", "disabled": false, "multiple": false, "nextPage": "", "redrawOn": "", "tabindex": "", "validate": {"custom": "", "required": false, "customPrivate": false, "strictDateValidation": false}, "autofocus": false, "encrypted": false, "hideLabel": false, "protected": false, "refreshOn": "", "tableView": false, "attributes": {}, "breadcrumb": "none", "components": [{"id": "eet25tl", "key": "applicantName", "case": "", "mask": false, "tags": "", "type": "textfield", "input": true, "label": "Applicant name", "logic": [], "hidden": false, "prefix": "", "suffix": "", "unique": false, "widget": {"type": "input"}
View keybase.md

Keybase proof

I hereby claim:

  • I am cymen on github.
  • I am cymen (https://keybase.io/cymen) on keybase.
  • I have a public key ASC-D_uA50YoNz5ql2CKEfbr_9x6esQNPt0lqcyXnDs9fAo

To claim this, I am signing this object:

@cymen
cymen / gist:9aec78c717c352ea0dc2
Created Nov 23, 2015
webpack config with css, etc.
View gist:9aec78c717c352ea0dc2
var path = require('path');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var commonLoaders = [
{
test: /\.css$/,
loader: ExtractTextPlugin.extract('style-loader', 'css-loader!autoprefixer-loader?browsers=last 3 versions')
}, {
test: /\.less$/,
loader: ExtractTextPlugin.extract('style-loader', 'css-loader!autoprefixer-loader?browsers=last 3 versions!less-loader')
View gist:f4cabfa73cc74dcbb174
var prolog = {};
// Constructor for variables.
function Var() {
this.ref = this;
}
// Constructor for compound terms.
View gist:c70c57a6c3a0dd453f55
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'publish' ]
2 info using npm@2.7.0
3 info using node@v0.10.33
4 verbose node symlink /usr/local/bin/node
5 verbose publish [ '.' ]
6 silly cache add args [ '.', null ]
7 verbose cache add spec .
8 silly cache add parsed spec { raw: '.',
8 silly cache add scope: null,
View teaspoon_browserify.html.erb
<%
# Build the helper file
# assumes config.assets.paths << Rails.root.join('tmp', 'teaspoon', 'assets') in development.rb
tmp_assets = Rails.root.join("tmp/teaspoon/assets")
spec_helper = File.join(tmp_assets, "spec_helper.js")
FileUtils.mkdir_p(File.dirname(spec_helper)) unless File.directory?(File.dirname(spec_helper))
specs = @suite.spec_assets(false).map{ |s| "#{s.gsub(/\.js.*$/, "")}" }
View gist:c50d9f5e621746588b7e
~/dev/teespring/rails-teespring cvig (cv/do-not-change-product-pricing-when-admin-revising)$ gm
GraphicsMagick 1.3.19 2013-12-31 Q8 http://www.GraphicsMagick.org/
Copyright (C) 2002-2013 GraphicsMagick Group.
Additional copyrights and licenses apply to this software.
See http://www.GraphicsMagick.org/www/Copyright.html for details.
Usage: gm command [options ...]
Where commands include:
batch - issue multiple commands in interactive or batch mode
benchmark - benchmark one of the other commands
View gist:645b8846bffbc182f1f3
! function(n) {
! function(n) {
function t(n, t) {
return Object.prototype.hasOwnProperty.call(n, t)
}
function e(n) {
return "undefined" == typeof n
}
var r = {},
You can’t perform that action at this time.