Skip to content

Instantly share code, notes, and snippets.

View LuisMDeveloper's full-sized avatar
🏠
Working from home

Luis Manuel Ramirez Vargas LuisMDeveloper

🏠
Working from home
View GitHub Profile
@LuisMDeveloper
LuisMDeveloper / ViewController.swift
Created October 11, 2017 22:05
Test AWS file upload
//
// ViewController.swift
// Amazon S3 Test
//
// Created by LRamirezVargas on 10/11/17.
// Copyright © 2017 LRamirezVargas. All rights reserved.
//
import UIKit
import AWSCore
@LuisMDeveloper
LuisMDeveloper / example-bower.json
Last active April 2, 2024 14:59
Gist example with multiple files
{
"name": "gist-embed",
"authors": [
"Blair Vanderhoof"
],
"description": "Ultra powered gist embedding for your website http://blairvanderhoof.com/gist-embed/",
"main": "gist-embed.js",
"keywords": [
"gist",
"embed",
@LuisMDeveloper
LuisMDeveloper / MarvelAPI.swift
Created July 7, 2017 15:37
URLSession example
let privatekey = ""
let apikey = ""
let ts = Date().timeIntervalSince1970.description
let hash = "\(ts)\(privatekey)\(apikey)".md5()
//var baseURL = "https://gateway.marvel.com:443"
let url = URL(string: "https://gateway.marvel.com/v1/public/comics?ts=\(ts)&apikey=\(apikey)&hash=\(hash)")
let defaultSession = URLSession(configuration: .default)
@LuisMDeveloper
LuisMDeveloper / .gitignore downloader
Last active May 20, 2017 01:53
Simple function to download a premade .gitignore file, simple use: 'giti Swift' will download https://github.com/LuisMDeveloper/gitignore/blob/master/Swift.gitignore file
giti() {
curl "https://raw.githubusercontent.com/LuisMDeveloper/gitignore/master/$1.gitignore" -o ".gitignore"
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<ul>
<li class="product">15.6</li>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">