From 7faa16ce2d4270b56b2bec216aabfa8dee8864c8 Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Sat, 11 Sep 2021 18:34:29 +0200 Subject: [PATCH 1/9] update README --- README.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.org b/README.org index 4dddd14..3d6363f 100644 --- a/README.org +++ b/README.org @@ -7,6 +7,8 @@ It is a self-contained web page which asks socializing, funny and interesting questions. Use it as conversation starter or just for fun. + You can see it in action [[https://deleh.github.io/socialize][here]]. + ** Installation This is just one HTML file, grab the =index.html= and open it in your favourite browser or host it with whatever webserver you like. From fc3f606faf093b07ca42bca74ec8d5978a0e3a2c Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Sat, 11 Sep 2021 22:41:33 +0200 Subject: [PATCH 2/9] update README --- README.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 3d6363f..395ed28 100644 --- a/README.org +++ b/README.org @@ -2,7 +2,7 @@ Ever felt lost in a group conversation? Have you run out of conversation topics with your friends? - Don't worry, *socialize* is there to support you. + Don't worry, *socialize* is here to support you. It is a self-contained web page which asks socializing, funny and interesting questions. Use it as conversation starter or just for fun. @@ -24,7 +24,7 @@ *** Requirements The browser must have JavaScript enabled. - But don't worry, nothing is loaded from a third party. + But don't worry, nothing gets loaded from a third party. ** Adding questions From 47a24d39c826bbbebe77b5eccb259ae3f548f276 Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Sun, 12 Sep 2021 01:21:18 +0200 Subject: [PATCH 3/9] update questions --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 1661a09..88a1f9f 100644 --- a/index.html +++ b/index.html @@ -101,6 +101,7 @@ "What’s the worst purchase you have ever made?", "What’s your animal of the day?", "What’s your favorite sock color?", + "What’s your favorite thing to spend on or would love to spend on?", "What’s your favourite Austin Powers movie?", "What’s your favourite Gilmore Girls episode?", "What’s your favourite beer brewery?", From 7333b52a40a12ba1c095360f1c40d5ab89fbc10b Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Sun, 12 Sep 2021 21:29:20 +0200 Subject: [PATCH 4/9] update questions --- index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html b/index.html index 88a1f9f..715f7c1 100644 --- a/index.html +++ b/index.html @@ -66,6 +66,8 @@ "How do you feel about putting pineapple on pizza?", "If animals could talk, which would be the rudest?", "If peanut butter wasn’t called peanut butter, what would it be called?", + "If you could be born elsewhere and completely restart all of your experiences, where would you go?", + "If you could change one law of nature, what would it be and what would be the consequences?", "If you could merge two different animals to create the ultimate animal, what two animals would it be and what would be their product?", "If you could replace all of the grass in the world with something else, what would it be and why?", "If you had to go to jail for any reason, what would it be?", From 22a6513908ffb0ed318b15e5786bfaff95659f41 Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Thu, 23 Sep 2021 20:02:59 +0200 Subject: [PATCH 5/9] add questions --- index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.html b/index.html index 2fbb080..b6b9bb6 100644 --- a/index.html +++ b/index.html @@ -79,6 +79,10 @@ "What did you miss most during the Covid-19 pandemic?", "What do you normally do for fun?", "What hat would you wear right now if it were fashionable to wear one at every occasion?", + "What is the song that you have listened to the most?", + "What is your favorite kitchen appliance?", + "What is your favorite number sequence?", + "What is your relationship with your mother?", "What mythical creature would improve the world most if it existed?", "What secret conspiracy would you like to start?", "What set of items could you buy that would make the cashier the most uncomfortable?", @@ -98,6 +102,7 @@ "What’s the most useless talent you have?", "What’s the weirdest smell you have ever smelled?", "What’s the weirdest thing you have seen in someone else’s home?", + "What’s the worst movie you've ever seen and why shouldn't you watch it?", "What’s the worst purchase you have ever made?", "What’s your animal of the day?", "What’s your favorite sock color?", From d672867ffd033754cab6e4028073aa9074e6026c Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Mon, 1 Nov 2021 19:55:01 +0100 Subject: [PATCH 6/9] change flake output --- README.org | 4 ++-- flake.nix | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/README.org b/README.org index 395ed28..ae78fab 100644 --- a/README.org +++ b/README.org @@ -14,11 +14,11 @@ This is just one HTML file, grab the =index.html= and open it in your favourite browser or host it with whatever webserver you like. This web page is also available as [[https://nixos.wiki/wiki/Flakes][Nix Flake]]. - The =index.html= file is provided in =/var/www/socialize= of the flake output. + The =index.html= file is provided in the root of the flake package output. To use it for example with Nginx, the flakes (here included as =socialize=) content can be accessed like this: #+begin_example nix - services.nginx.virtualHosts."example.org".locations."/".root = "${socialize.packages."".socialize}/var/www/socialize"; + services.nginx.virtualHosts."example.org".locations."/".root = "${socialize.packages."".socialize}"; #+end_example *** Requirements diff --git a/flake.nix b/flake.nix index 3e98675..bca2cc4 100644 --- a/flake.nix +++ b/flake.nix @@ -1,28 +1,22 @@ { description = "socialize web page"; - inputs.flake-utils.url = "github:numtide/flake-utils"; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; in { - - # Package packages.socialize = pkgs.stdenv.mkDerivation { name = "socialize"; src = self; installPhase = '' - install -m 444 -D index.html $out/var/www/socialize/index.html + install -m 444 -D index.html $out/index.html ''; }; defaultPackage = self.packages.${system}.socialize; } - ); } From bac9132e78309a6f5488611bfd4c6cdbe24ee056 Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Wed, 9 Mar 2022 12:09:21 +0100 Subject: [PATCH 7/9] add questions --- index.html | 130 +++++++++++++++++++++++++++-------------------------- 1 file changed, 66 insertions(+), 64 deletions(-) diff --git a/index.html b/index.html index 3fff307..9da4eb5 100644 --- a/index.html +++ b/index.html @@ -59,70 +59,72 @@ // Questions const questions = [ - "Are you a cat person or a normal person?", - "Blueberry muffin, with ketchup or mustard?", - "Do you sympathize more with the Empire or the Rebels?", - "How do you feel about beeing disadvantaged as a woman/privileged as a man in society?", - "How do you feel about putting pineapple on pizza?", - "If animals could talk, which would be the rudest?", - "If peanut butter wasn’t called peanut butter, what would it be called?", - "If you could be born elsewhere and completely restart all of your experiences, where would you go?", - "If you could change one law of nature, what would it be and what would be the consequences?", - "If you could merge two different animals to create the ultimate animal, what two animals would it be and what would be their product?", - "If you could replace all of the grass in the world with something else, what would it be and why?", - "If you had to go to jail for any reason, what would it be?", - "If you were transported 400 years into the past with no clothes or anything else, how would you prove that you were from the future?", - "If you were wrongfully put into an insane asylum, how would you convince them that you’re actually sane and not just pretending to be sane?", - "If you would be a superhero with an unlikely power, would it be the ability to shoot meatballs out of your nostrils or the power to create force fields but only around ants?", - "Is a hotdog a sandwich?", - "Is cereal soup?", - "Toilet paper, over or under?", - "What are some fun and interesting alternatives to war that countries could settle their differences with?", - "What did you miss most during the Covid-19 pandemic?", - "What do you normally do for fun?", - "What hat would you wear right now if it were fashionable to wear one at every occasion?", - "What is the song that you have listened to the most?", - "What is your favorite kitchen appliance?", - "What is your favorite number sequence?", - "What is your relationship with your mother?", - "What mythical creature would improve the world most if it existed?", - "What secret conspiracy would you like to start?", - "What set of items could you buy that would make the cashier the most uncomfortable?", - "What sport would be the funniest to add a mandatory amount of alcohol to?", - "What two totally normal things become really weird if you do them back to back?", - "What will finally break the internet?", - "What would be the coolest animal to scale up to the size of a horse?", - "What would be your weapon of choice in a zombie apocalypse?", - "What would you name your boat if you had one?", - "What would you name your spaceship if you had one?", - "What’s invisible but you wish people could see?", - "What’s something that everyone looks stupid doing?", - "What’s the best Wi-Fi name you’ve seen?", - "What’s the dumbest way you have been injured?", - "What’s the funniest joke you know by heart?", - "What’s the most ridiculous fact you know?", - "What’s the most useless talent you have?", - "What’s the weirdest smell you have ever smelled?", - "What’s the weirdest thing you have seen in someone else’s home?", - "What’s the worst movie you've ever seen and why shouldn't you watch it?", - "What’s the worst purchase you have ever made?", - "What’s your animal of the day?", - "What’s your favorite sock color?", - "What’s your favorite thing to spend on or would love to spend on?", - "What’s your favourite Austin Powers movie?", - "What’s your favourite Gilmore Girls episode?", - "What’s your favourite beer brewery?", - "What’s your hidden talent?", - "What’s your net income?", - "Which body part do you wish you could detach and why?", - "Which company will put advertising on the moon first?", - "Which fruit describes you best?", - "Which sport do you think they’ll invent next?", - "Would you rather be always 15 minutes late or always 30 minutes early?", - "Would you rather brush your teeth with a toilet brush or clean the toilet with your toothbrush?", - "Would you rather have drill-hands or rollerblade-feet?", - "Would you take the red pill or the blue pill?", - "You’re a mad scientist, what scientific experiment would you run if money and ethics weren’t an issue?", + "Are you a cat person or a normal person?", + "Are you into musicals?", + "Blueberry muffin, with ketchup or mustard?", + "Do you like bread?", + "Do you sympathize more with the Empire or the Rebels?", + "For which folk band would you like to be a roadie?", + "Have you ever been to work without pants?", + "How do you feel about beeing disadvantaged as a woman/privileged as a man in society?", + "How do you feel about putting pineapple on pizza?", + "If animals could talk, which would be the rudest?", + "If peanut butter wasn’t called peanut butter, what would it be called?", + "If you could be born elsewhere and completely restart all of your experiences, where would you go?", + "If you could change one law of nature, what would it be and what would be the consequences?", + "If you could merge two different animals to create the ultimate animal, what two animals would it be and what would be their product?", + "If you could program one app, what would it be?", + "If you could replace all of the grass in the world with something else, what would it be and why?", + "If you had to go to jail for any reason, what would it be?", + "If you were transported 400 years into the past with no clothes or anything else, how would you prove that you were from the future?", + "If you were wrongfully put into an insane asylum, how would you convince them that you’re actually sane and not just pretending to be sane?", + "If you would be a superhero with an unlikely power, would it be the ability to shoot meatballs out of your nostrils or the power to create force fields but only around ants?", + "Is a hotdog a sandwich?", + "Is cereal soup?", + "Toilet paper, over or under?", + "What are some fun and interesting alternatives to war that countries could settle their differences with?", + "What are your thoughts on raisins?", + "What did you miss most during the Covid-19 pandemic?", + "What do you normally do for fun?", + "What hat would you wear right now if it were fashionable to wear one at every occasion?", + "What mythical creature would improve the world most if it existed?", + "What secret conspiracy would you like to start?", + "What set of items could you buy that would make the cashier the most uncomfortable?", + "What sport would be the funniest to add a mandatory amount of alcohol to?", + "What two totally normal things become really weird if you do them back to back?", + "What will finally break the internet?", + "What would be the coolest animal to scale up to the size of a horse?", + "What would be your weapon of choice in a zombie apocalypse?", + "What would you name your boat if you had one?", + "What would you name your spaceship if you had one?", + "What’s invisible but you wish people could see?", + "What’s something that everyone looks stupid doing?", + "What’s the best Wi-Fi name you’ve seen?", + "What’s the dumbest way you have been injured?", + "What’s the funniest joke you know by heart?", + "What’s the most ridiculous fact you know?", + "What’s the most useless talent you have?", + "What’s the weirdest smell you have ever smelled?", + "What’s the weirdest thing you have seen in someone else’s home?", + "What’s the worst purchase you have ever made?", + "What’s your animal of the day?", + "What’s your favorite sock color?", + "What’s your favorite thing to spend on or would love to spend on?", + "What’s your favourite Austin Powers movie?", + "What’s your favourite Gilmore Girls episode?", + "What’s your favourite beer brewery?", + "What’s your hidden talent?", + "What’s your net income?", + "Which body part do you wish you could detach and why?", + "Which company will put advertising on the moon first?", + "Which fruit describes you best?", + "Which sport do you think they’ll invent next?", + "Which three records do you take with you to a desert island?", + "Would you rather be always 15 minutes late or always 30 minutes early?", + "Would you rather brush your teeth with a toilet brush or clean the toilet with your toothbrush?", + "Would you rather have drill-hands or rollerblade-feet?", + "Would you take the red pill or the blue pill?", + "You’re a mad scientist, what scientific experiment would you run if money and ethics weren’t an issue?", ]; // Get random question From 2b29af618e13dcd00e82135d2a496e9b1eab4bd0 Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Wed, 9 Mar 2022 12:14:03 +0100 Subject: [PATCH 8/9] update flake inputs --- flake.lock | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/flake.lock b/flake.lock index 0e68d29..c2e4afa 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "flake-utils": { "locked": { - "lastModified": 1629481132, - "narHash": "sha256-JHgasjPR0/J1J3DRm4KxM4zTyAj4IOJY8vIl75v/kPI=", + "lastModified": 1644229661, + "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=", "owner": "numtide", "repo": "flake-utils", - "rev": "997f7efcb746a9c140ce1f13c72263189225f482", + "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797", "type": "github" }, "original": { @@ -17,11 +17,12 @@ }, "nixpkgs": { "locked": { - "lastModified": 1628077112, - "narHash": "sha256-ehfkGNBdq0GFbezcXZP4OPcik+k4Lm7mF8NUKJlq6Ho=", - "path": "/nix/store/gy0x00sjl3lczh2h6akhhcfyp263nmy5-source", - "rev": "465daf79b4a23d6e47d2efddece7120da8800c63", - "type": "path" + "lastModified": 1646506091, + "narHash": "sha256-sWNAJE2m+HOh1jtXlHcnhxsj6/sXrHgbqVNcVRlveK4=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "3e644bd62489b516292c816f70bf0052c693b3c7", + "type": "github" }, "original": { "id": "nixpkgs", From b73a9be37978661753f1186497a8e38b8efe6008 Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Thu, 10 Mar 2022 11:39:19 +0100 Subject: [PATCH 9/9] add question --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 9da4eb5..104da76 100644 --- a/index.html +++ b/index.html @@ -64,6 +64,7 @@ "Blueberry muffin, with ketchup or mustard?", "Do you like bread?", "Do you sympathize more with the Empire or the Rebels?", + "Do you think there are more doors or wheels in the world?", "For which folk band would you like to be a roadie?", "Have you ever been to work without pants?", "How do you feel about beeing disadvantaged as a woman/privileged as a man in society?",