Skip to content

Instantly share code, notes, and snippets.

View xlanex6's full-sized avatar
🎿
Code web apps from the alps

Alex Duval xlanex6

🎿
Code web apps from the alps
View GitHub Profile
<template>
<nav>
<nuxt-link to="/">
<img
src="@/assets/images/logo.svg"
alt="logo"
>
</nuxt-link>
<nuxt-link
to="#"
code --install-extension Hridoy.rails-snippets
code --install-extension Riey.erb
code --install-extension adrianwilczynski.alpine-js-intellisense
code --install-extension alexdima.copy-relative-path
code --install-extension apollographql.vscode-apollo
code --install-extension bradgashler.htmltagwrap
code --install-extension bradlc.vscode-tailwindcss
code --install-extension bungcip.better-toml
code --install-extension castwide.solargraph
code --install-extension christian-kohler.npm-intellisense
@xlanex6
xlanex6 / s3-dropzone-upload.php
Created July 19, 2019 05:50 — forked from mmoehrlein/s3-dropzone-upload.php
s3 upload with dropzone.js
<?php
// AWS data
$bucketName = "BUCKET-NAME";
$AWSAccessKeyId = "XXXXXXXXXXXXXXXXXXXX";
$AWSSecretAccessKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
$date = date("Y-m-d");
$dateISO = date("Ymd");
$validTill = date('Y-m-d\TH:i:s.000\Z', time() + (60 * 60 * 4)); // 4 hours
@xlanex6
xlanex6 / main.ts
Created April 4, 2019 10:19 — forked from tablekat/main.ts
Making gmail push notifications to webhook
import * as request from 'request';
import * as fs from 'fs';
import * as readline from 'readline';
var google = require('googleapis');
var googleAuth = require('google-auth-library');
/*************** STEPS
- made a project on https://console.cloud.google.com/cloudpubsub/topicList?project=testmabs thing?
mutation(
$additional_information_ids: [String]
$buying_company_currency_id: String
$buying_company_id: String
$buying_company_name: String
$customer_company_id: String
$customer_company_name: String
$customer_currency_id: String
$customer_incoterm_id: String
$customer_parameter_ids: [String]
@xlanex6
xlanex6 / _vue-rails.md
Created May 24, 2018 12:48 — forked from przbadu/_vue-rails.md
Vue js and Rails integration

Setup Rails and Vuejs

  1. Generate new rails app using --webpack flag
rails new myApp --webpack=vue

Note:

  1. You can use --webpack=angular for angular application and --webpack=react for react.
@xlanex6
xlanex6 / _vue-rails.md
Created May 24, 2018 12:48 — forked from przbadu/_vue-rails.md
Vue js and Rails integration

Setup Rails and Vuejs

  1. Generate new rails app using --webpack flag
rails new myApp --webpack=vue

Note:

  1. You can use --webpack=angular for angular application and --webpack=react for react.
@xlanex6
xlanex6 / init.coffee
Last active May 28, 2017 16:23
My personal Atom package settings
#my atom pachage config
@xlanex6
xlanex6 / jquery-turbolinks-compatibility.js
Created April 19, 2017 07:44 — forked from AndrewSouthpaw/jquery-turbolinks-compatibility.js
jQuery Turbolinks compatibility file in JS
@xlanex6
xlanex6 / active_admin.js
Created November 30, 2016 15:24 — forked from balvig/active_admin.js
Active Admin Cloudinary
# app / assets / javascripts / active_admin.js
//= require active_admin/base
//= require jquery.ui.widget
//= require jquery.iframe-transport
//= require jquery.fileupload
//= require cloudinary/jquery.cloudinary
//= require attachinary
//= require attachments