This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var( | |
| requestQueue = nsqq.NewQueue("goapi") | |
| ) | |
| func MyRequestHandler(res http.ResponseWriter, req *http.Request){ | |
| //collects information from request object | |
| //builds a struct, serializes it into json, then sends it into helper | |
| if requestQueue != nil{ | |
| js, err := json.Marshal(myStruct) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "log" | |
| "sync" | |
| "github.com/bitly/go-nsq" | |
| ) | |
| func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "github.com/str1ngs/util/file" | |
| "log" | |
| "os" | |
| "os/exec" | |
| "path/filepath" | |
| "time" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "encoding/json" | |
| "encoding/xml" | |
| "fmt" | |
| "io/ioutil" | |
| "net/http" | |
| "net/url" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Company | |
| BusinessClass | |
| BlogCategories | |
| BlogPost_BlogCategory | |
| BlogPosts | |
| CompanyToBrand | |
| Brand | |
| BrandPart | |
| Part | |
| CatPart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "database/sql" | |
| "fmt" | |
| _ "github.com/go-sql-driver/mysql" | |
| "log" | |
| "net/http" | |
| "strconv" | |
| "strings" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Contact controller definition | |
| */ | |
| define(['./module'], function (module) { | |
| 'use strict'; | |
| module.controller('ContactController', ['$scope', 'GeographyService', 'FormService', function(scope, GeographyService, FormService){ | |
| GeographyService.GetCountryStates(function(countries, err){ | |
| if(err){ | |
| console.log(err); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** Book **/ | |
| /** "ff-good-headline-web-pro-con-n4", "ff-good-headline-web-pro-con" **/ | |
| font-family: "ff-good-headline-web-pro-con-n4","ff-good-headline-web-pro-con",sans-serif; | |
| font-style: normal; | |
| font-weight: 400; | |
| /** Book Italic **/ | |
| /** "ff-good-headline-web-pro-con-i4", "ff-good-headline-web-pro-con" **/ | |
| font-family: "ff-good-headline-web-pro-con-i4","ff-good-headline-web-pro-con",sans-serif; | |
| font-style: italic; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="outterbox" style="position: relative;"> | |
| <img src="/img/truck.png" alt="Truck Grill Guards" class="img-responsive"> | |
| <div class="innerbox" style="background: none repeat scroll 0 0; top: 0; left: 0; position: absolute;"> | |
| <h1 style="margin-left: auto; margin-right: auto; text-align: center;">A NEW ERA IN GRILL GUARDS IS HERE</h1> | |
| </div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import( | |
| "encoding/xml" | |
| "fmt" | |
| "strings" | |
| ) | |
| var text = ` | |
| <people> |