Skip to content

Commit

Permalink
Restore changes lost to history rewrite
Browse files Browse the repository at this point in the history
Recently rebased the entire history of the repo.
This commit introduces whatever changes are necessary to
keep the state of the master branch the same as before.
  • Loading branch information
Chalarangelo committed Oct 4, 2023
1 parent 3fefdb9 commit f56dc2c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 55 deletions.
17 changes: 15 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
currentSnippet\.js
*.md.temp.js
.idea
test.sh
/*.log
dist/flavor\.min\.css
dist/flavor\.css
test_old/
coverage/

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand All @@ -25,7 +34,7 @@ coverage
# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
Expand Down Expand Up @@ -98,6 +107,10 @@ yarn.lock
.next
out/

# gatsby files
.cache/
public

# Mac files
.DS_Store

Expand Down
32 changes: 0 additions & 32 deletions content/snippets/js/s/check-property.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,6 @@ const checkProp = (predicate, prop) => obj => !!predicate(obj[prop]);
```

```js
































const lengthIs4 = checkProp(l => l === 4, 'length');
lengthIs4([]); // false
lengthIs4([1, 2, 3, 4]); // true
Expand Down
30 changes: 9 additions & 21 deletions design/README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
[![Logo](/assets/logo.png)](https://www.30secondsofcode.org/)
![Logo](/logo.png)

# Brand & Design

> Short code snippets for all your development needs
Brand book and design guidelines for the 30 seconds of code organization.

* Visit [our website](https://30secondsofcode.org) to view our snippet collection.
* Search for snippets that suit your needs. You can search by name, tag, language or using a snippet's description. Just start typing a term and see what comes up.
* Browse all [snippets](https://30secondsofcode.org/snippets/p/1) or individual [snippet collections](https://30secondsofcode.org/collections/p/1) for each topic.
* Click on each snippet card to view the whole snippet, including code, explanation and examples.
* You can copy code blocks on any snippet card, using the copy button at the top right.
* If you like the project, give it a star. It means a lot to the people maintaining it.
## Table of contents

## Want to contribute?

* If you want to help us improve, take a minute to read the [Contribution Guidelines](/CONTRIBUTING.md) first.
* Use the relevant `template.md` to add new snippets to each collection.
* If you find a problem with a specific snippet, please [open an issue](https://github.com/30-seconds/30-seconds-of-code/issues/new).
* If you find a problem with the website, please [report it in the web repository](https://github.com/30-seconds/30-seconds-web/issues/new).

## Credits

* This repository is maintained by the [30 seconds of code organization on GitHub](https://github.com/30-seconds).
* All snippets are licensed under the CC-BY-4.0 License, unless explicitly stated otherwise.
* Logos, names and trademarks are not to be used without the explicit consent of the owners of the 30 seconds of code GitHub organization.
* Our website is powered by [Netlify](https://www.netlify.com/), [Astro](https://astro.build/) & [GitHub](https://github.com/).
- [Brand identity](/brand-identity.md)
- [Logo guidelines](/logo-guidelines.md)
- [Terminology](/terminology.md)
- [Writing guidelines](/writing-guidelines.md)
- [Accessibility](/accessibility.md)
- [Logo resources](/logo-resources)
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f56dc2c

Please sign in to comment.