I hereby claim:
- I am hobelinm on github.
- I am hugobelin (https://keybase.io/hugobelin) on keybase.
- I have a public key ASDzjUgQpntvlbV1zXaNg--deUQLHXfR4qGcM08ZNTqZ6wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| {{/* Featured on: */}} | |
| {{/* https://brewingcats.com/posts/projects/software/tableauparser/ */}} | |
| {{/* https://brewingcats.com/es/posts/projects/software/tableauparser/ */}} | |
| {{/* tableau "viz_id" "view_pre" "view_id" "view_name" */}} | |
| <div class='tableauPlaceholder' id='{{.Get 0 }}' style='position: relative'> | |
| <noscript> | |
| <a href='#'> | |
| <img alt=' ' | |
| src='https://public.tableau.com/static/images/{{.Get 1 }}/{{.Get 2 }}/{{.Get 3 }}/1_rss.png' | |
| style='border: none' /> |
| title | date | draft | barePage |
|---|---|---|---|
Instagram |
2020-01-14 12:08:35 -0700 |
false |
true |
Instagram-Auto-Embed
{{< autoinstagram "fromUrl" "Instagram-Auto-Embed" >}}
| <script type="text/javascript"> | |
| //< autoinstagram "fromUrl" "Instagram-Auto-Embed" > | |
| //< autoinstagram "123qwer" "Instagram-Auto-Embed" > | |
| {{ if eq (.Get 0) "fromUrl" }} | |
| if (window.AutoInstagram.Control.LoadFromParam() === '') { | |
| // Loads error image | |
| window.AutoInstagram.Control.QueryAndAddInstagramPost( | |
| 'CDqPPKxp1cT', | |
| {{.Get 1}} |
| {{ define "header" }} | |
| {{/* We can override any block in the baseof file be defining it in the template */}} | |
| {{ if not .Params.barePage }} | |
| {{ partial "page-header.html" . }} | |
| {{ end }} | |
| {{ end }} | |
| {{ define "main" }} | |
| {{ $section := .Site.GetPage "section" .Section }} | |
| <article class="flex-l flex-wrap justify-between mw8 center ph3"> |
| namespace AutoInstagram { | |
| export class Control { | |
| /** | |
| * Find Instagram Id if passed via query parameter | |
| */ | |
| public static LoadFromParam(): string { | |
| let url: URL = new URL(location.toString()); | |
| let instaId: string = url.searchParams.get(Constants.QuerySegment); | |
| let instagramId: string = ''; | |
| if (instaId === null) { |
| {{/* carousel "en" "My Caption" "photo1" "photo2" "photoN" */}} | |
| {{ $captionId := replace (replace (.Get 1) " " "") "," "" }} | |
| {{ $caption := .Get 1 }} | |
| {{ $numOfParams := len .Params }} | |
| <div> | |
| <div id="{{ $captionId }}" class="carousel slide carousel-fade" data-ride="carousel"> | |
| <ol class="carousel-indicators"> | |
| {{ range $idx, $item := (seq $numOfParams) }} | |
| {{ if ge $idx 2 }} | |
| {{ $target := sub $idx 2 }} |
| <script | |
| src="https://code.jquery.com/jquery-3.3.1.min.js" | |
| integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" | |
| crossorigin="anonymous"> | |
| </script> | |
| <script> | |
| if(localStorage.getItem('IsDebug') === 'true') { | |
| console.log('Debug mode, no redirection'); | |
| return; | |
| } |
| $(document).ready(function(){ | |
| // Set appropriate language by default | |
| if (localStorage.languageSelection) { | |
| if(localStorage.languageSelection == "spanish") { | |
| $(".spanish").show(); | |
| $(".english").hide(); | |
| } | |
| else { | |
| localStorage.languageSelection = "english"; | |
| $(".english").show(); |
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <h1>Customizable Form</h1> | |
| <p>A custom form will show up with appropriate fields to complete.</p> | |
| <select id="select" onchange="leaveChange()"> | |
| <option value="none">Select a Car</option> |