Skip to content

Instantly share code, notes, and snippets.

<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="36x36" href="/android-chrome-36x36.png">
<link rel="icon" type="image/png" sizes="48x48" href="/android-chrome-48x48.png">
<link rel="icon" type="image/png" sizes="72x72" href="/android-chrome-72x72.png">
<link rel="icon" type="image/png" sizes="96x96" href="/android-chrome-96x96.png">
<link rel="icon" type="image/png" sizes="144x144" href="/android-chrome-144x144.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
'Simulants by Curtis White for ChatGPT
'This demonstrates keeping track of world state such as turn variables and outputing at random probabilities.
'I found that using clear english and numbered instructions worked much more consistently then trying other types of data structures
'The random state variable is an implementation of an "Agent".
'Agents may be very useful for exploring conscious and developing games. They might be used to drive Finite State Machine or Markov Chains?
'A simulant is an expansion of a persona because we add state data.
'Output state data is useful for seeing whether the internal world data is processing or being fabricated or when it is processed, as well.
'Copy and paste everything starting from "The following" into the first prompt. You will get "..". Execute ".p Corp" to verify.
'Updated for controlling its output
<style>
/* customizable snowflake styling */
.snowflake {
color: #fff;
font-size: 1em;
font-family: Arial, sans-serif;
text-shadow: 0 0 5px #000;
}
@-webkit-keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}}@keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@keyframes snowflakes-shake{0%,100%{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:line
##need-to-change-urls–in-css
##Example
##background-image: ##url('https://s3-eu-west-1.amazonaws.com/static-ressources/s1.png'), ##url('https://s3-eu-west-1.amazonaws.com/static-ressources/s2.png'), ##url('https://s3-eu-west-1.amazonaws.com/static-ressources/s3.png');
##z-index:100;
<div class="snow" />
<style>
.editor-stage .snow {
height:50px;
background: #fff;
@blueprintmrk
blueprintmrk / file-shopifytips-snowflakes-liquid
Created July 16, 2022 22:59
shopifytips-snowflakes-liquid
{% if settings.shopifytips_enable_effect %}
<script>
/***********************
wWw.ShopifyTips.Com
***********************/
var snowmax={{settings.shopifytips_number_of_snowflakes}};
var snowcolor=new Array("#aaaacc","#ddddff","#ccccdd","#f3f3f3","#f0ffff");
var snowtype=new Array("Times","Arial","Times","Verdana");
var snowletter="*";
@blueprintmrk
blueprintmrk / spamreferrals.txt
Created May 5, 2022 01:41 — forked from iMazed/spamreferrals.txt
Spam referral list to add to Google Analytics spam filters. Custom filter > Exlude > Campaign Source.
share-buttons.xyz
traffic2cash.xyz
с.новым.годом.рф
net-profits.xyz
social-widget.xyz
free-social-buttons.xyz
4webmasters.org
76brighton.co.uk
7makemoneyonline.com
acads.net
@blueprintmrk
blueprintmrk / functions.php
Last active June 29, 2022 15:56 — forked from lukecav/functions.php
Yoast SEO CDN Filter
function wpseo_cdn_filter( $uri ) {
return str_replace( 'http://yourdomain.com', 'http://cdn.yourdomain.com', $uri );
}
add_filter( 'wpseo_xml_sitemap_img_src', 'wpseo_cdn_filter' );
@blueprintmrk
blueprintmrk / default.vcl
Created July 31, 2021 08:40 — forked from ronaldoedy/default.vcl
Wordpress-optimised VCL configuration file for varnish.
# This is a Wordpress-optimised VCL configuration file for varnish.
backend default {
.host = "127.0.0.1";
.port = "8080";
.connect_timeout = 600s;
.first_byte_timeout = 600s;
.between_bytes_timeout = 600s;
.max_connections = 800;
}
@blueprintmrk
blueprintmrk / Public_Recursive_Name_Servers.md
Last active June 29, 2021 22:30 — forked from mutin-sa/Top_Public_Recursive_Name_Servers.md
List of Top Public Recursive Name Servers
IPv4 Addr IPv6 Addr ASn Loc Svc Org
8.8.8.8 2001:4860:4860::8888 AS15169 Worldwide (Anycast) Google Public DNS Google
8.8.4.4 2001:4860:4860::8844 AS15169 Worldwide (Anycast) Google Public DNS Google
77.88.8.8 2a02:6b8::feed:0ff AS13238 Worldwide (Anycast) Yandex.DNS Yandex
77.88.8.1 2a02:6b8:0:1::feed:0ff AS13238 Worldwide (Anycast) Yandex.DNS Yandex
1.1.1.1 2606:4700:4700::1111 AS13335 Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
1.0.0.1 2606:4700:4700::1001 AS13335 Worldwide (Anycast) Cloudflare-DNS Clou
@blueprintmrk
blueprintmrk / config.yml
Created June 29, 2021 16:19 — forked from sjparkinson/config.yml
Deploy a Fastly service using Terraform and CircleCI 2.0.
version: 2
jobs:
validate_terraform:
docker:
- image: hashicorp/terraform
steps:
- checkout
- run:
name: Validate Terraform Formatting