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
| class WP_Query_CustomSQL extends WP_Query | |
| { | |
| function get_posts() { | |
| $posts = parent::get_posts(); | |
| // overwrite max_num_pages settings if set | |
| $q = &$this->query_vars; |
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
| <?php | |
| /* | |
| Template Name: Content Brands Page | |
| */ | |
| get_header(); | |
| global $wp; | |
| $curURL = home_url( $wp->request ); | |
| $contentbrand = $str= preg_replace('/\W\w+\s*(\W*)$/', '$1', get_the_title()); |
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
| May 2 11:09:36 machine-name diagnosticd[10068]: Posting empty stream filter | |
| May 2 11:09:36 machine-name diagnosticd[10068]: no EOS device present | |
| May 2 11:09:36 machine-name diagnosticd[10068]: allowing Console (10063) access to stream due to admin status | |
| May 2 11:09:36 machine-name diagnosticd[10068]: Posting stream filter: "{ | |
| global = 47245099008; | |
| }" | |
| May 2 11:09:36 machine-name diagnosticd[10068]: System mode client started - Console (10063) - mode: 0xb, filter: "<empty>" | |
| May 2 11:09:47 machine-name com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.mdmclient.10079): Failed to bootstrap path: path = /usr/libexec/mdmclient, error = 108: Invalid path | |
| May 2 11:09:51 machine-name diagnosticd[10068]: System mode client stopped - Console (10063) - clearing mode: 0xa, still active: 0x0 | |
| May 2 11:09:51 machine-name diagnosticd[10068]: Posting empty stream filter |
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
| !function(e){var t,n,o,r,i,a,d,c,s,h=Math.random().toString(36).substring(7),l=document.referrer,m=[],u=function(e){if(e){var t=document.cookie.match("(^|;) ?"+e+"=([^;]*)(;|$)");return t?unescape(t[2]):null}return document.cookie},f=function(){var i;if(e.target_id){if(!(i=document.getElementById(e.target_id)))return;if(i.getAttribute("ssformAdded"))return;i.setAttribute("ssformAdded",1)}else e.polling=!1;e.intervalId&&!e.polling&&(clearInterval(e.intervalId),e.intervalId=0);var a=u("__ss_tk");"http:"===window.location.protocol&&m.push("_noSsl=1"),a&&m.push("_tk="+a);var c=m.length?m.join("&"):"",l="instance="+h,f=["<iframe",'id="'+(s="ssf_"+n)+'"','data-form-id="'+n+'"','data-instance-id="'+h+'"','src="'+d+t+"/"+n+(""!==c?"?"+c+"&"+l:"?"+l)+'"','style="overflow-y: auto;"','frameborder="0"','height="'+(r||1e3)+'"','width="'+(o||500)+'"',"></iframe>"].join(" ");i?i.innerHTML=f:document.write(f),"function"!=typeof window.postMessage&&setInterval(function(){window.location.hash.match(/^#redirectURL=(.*)/)&&(wind |
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
| fatal error: concurrent map writes | |
| goroutine 42 [running]: | |
| runtime.throw(0x1a64212, 0x15) | |
| /usr/local/go/src/runtime/panic.go:1116 +0x72 fp=0xc0001ea178 sp=0xc0001ea148 pc=0x1037412 | |
| runtime.mapassign(0x1955f60, 0xc00032d110, 0xc000518380, 0xc000518380) | |
| /usr/local/go/src/runtime/map.go:585 +0x5c5 fp=0xc0001ea1f8 sp=0xc0001ea178 pc=0x1012005 | |
| reflect.mapassign(0x1955f60, 0xc00032d110, 0xc000518380, 0xc0005182c0) | |
| /usr/local/go/src/runtime/map.go:1319 +0x3f fp=0xc0001ea228 sp=0xc0001ea1f8 pc=0x1065fdf |
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
| // GetAssets | |
| // | |
| // It then obtains the assets path from the site model, and then checks | |
| // if the file exists, by opening the file, if it doesnt it will return a | |
| // 404. | |
| // It then sets cache headers using the cacher interface & checks if a webp | |
| // image is available with the path of .jpg.webp. The minify is the used | |
| // to see if the file can be minfied. | |
| func (c *FrontendController) GetAssets(g *gin.Context) { | |
| const op = "FrontendHandler.GetAssets" |
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
| func TestSEOController_Robots(t *testing.T) { | |
| gin.SetMode(gin.TestMode) | |
| t.Run("Success", func (t *testing.T) { | |
| r := httptest.NewRecorder() | |
| g, _ := gin.CreateTestContext(r) | |
| seoSuccess := SEOController{ |
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
| // TestMediaController_Upload - Test Upload route | |
| func TestMediaController_Upload(t *testing.T) { | |
| //rr := newTestSuite(t) | |
| path := "/Users/ainsley/Desktop/Reddico/apis/verbis/api/test/testdata/images/gopher.svg" | |
| body := new(bytes.Buffer) | |
| w := multipart.NewWriter(body) | |
| part, err := w.CreateFormFile("file", filepath.Base(path)) |
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
| WARNING: DATA RACE | |
| Write at 0x00c0005f60a8 by goroutine 37: | |
| github.com/ainsleyclark/verbis/api/models.(*MediaStore).getOptionsStruct() | |
| /Users/ainsley/Desktop/Reddico/apis/verbis/api/models/media.go:77 +0xe5 | |
| github.com/ainsleyclark/verbis/api/models.(*MediaStore).Serve() | |
| /Users/ainsley/Desktop/Reddico/apis/verbis/api/models/media.go:170 +0x55 | |
| github.com/ainsleyclark/verbis/api/http/controllers.(*FrontendController).GetUploads() | |
| /Users/ainsley/Desktop/Reddico/apis/verbis/api/http/controllers/frontend.go:106 +0x288 | |
| github.com/ainsleyclark/verbis/api/http/controllers.FrontendHandler.GetUploads-fm() | |
| /Users/ainsley/Desktop/Reddico/apis/verbis/api/http/controllers/frontend.go:29 +0x50 |
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
| .header { | |
| position: fixed; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| top: 0; | |
| left: 0; | |
| height: 70px; | |
| width: 100vw; | |
| padding: 0 5vw; |
OlderNewer