Latest Javascript Code Snippets

Popular / Snippets

xenangbainhat created a Page  -  21 days ago

Xe nâng dầu là loại xe nâng sử dụng nhiên liệu dầu diesel để vận hành.

xenangbainhat created a Page  -  22 days ago

Xe nâng dầu 2 tấn Mitsubishi FD20C-F16D là sản phẩm của thương hiệu Mitsubishi Nhật Bản, được nhập khẩu nguyên chiếc từ Nhật Bản. Xe có tải trọng nâng tối đa 2 tấn, chiều cao nâng tối đa 3m, phù hợp với các công việc nâng hạ hàng hóa trong các kho bãi, nhà máy, công trường,...

xenangbainhat created a Page  -  23 days ago

Lốp đặc xe nâng là một loại lốp xe nâng được thiết kế để chịu được tải trọng cao và hoạt động ổn định trên các mặt đường khác nhau.

xenangbainhat created a Page  -  23 days ago

Xe nâng Mitsubishi FD25D-F18C có giá thành hợp lý, phù hợp với nhu cầu của các doanh nghiệp. Xe có giá chỉ khoảng 50-70% so với xe nâng mới, giúp tiết kiệm chi phí đáng kể cho doanh nghiệp.

xenangbainhat created a Page  -  24 days ago

Xe nâng quay đầu là xe nâng bãi Nhật đã được sửa chữa các thành phần chính như động cơ, hộp số, v.v. Xe nâng quay đầu có giá rẻ hơn xe nâng bãi Nhật nhưng chất lượng không đảm bảo bằng.

xenangbainhat created a Page  -  29 days ago

Xe nâng hàng là thiết bị không thể thiếu trong các ngành công nghiệp, kho bãi, xưởng sản xuất, vận tải… Xe nâng hàng giúp nâng, chuyển, xếp dỡ hàng hóa nhanh chóng, an toàn và hiệu quả. Tuy nhiên, giá xe nâng hàng cũng phụ thuộc vào nhiều yếu tố như hãng xe, tải trọng, loại nhiên liệu, tình trạng xe…

freedofollownet created a Page  -  Jan 15, 2024

Welcome to Crypto Lists, the ultimate resource for finding the best Bitcoin casinos and exploring the largest list of crypto casinos available. We pride ourselves on showcasing only the most reputable and trustworthy platforms in the industry. Whether you prefer to play with cryptocurrencies or fiat currencies, our featured casinos offer a wide range of options to suit your needs.

mega288a created a Page  -  Nov 14, 2023

<?xml version="1.0" encoding="utf-8"?>

rtpligajuara created a Page  -  Nov 09, 2023

Ligajuara merupakan salah satu situs permainan online terbaik yang ada di Indonesia saat ini. Menyediakan berbagai permainan seperti Taruhan bola online dan slot Online. Berbagai macam permainan lainnya juga disediakan di situs ini, kenyamanan anda dalam bermain juga sangat terjamin. Langsung aja login atau daftar di situs terpercaya ini sekarang juga untuk menjadi pemenang selanjutnya yang mendapatkan..

nhualapphuong created a Page  -  Jul 01, 2023

Tấm lót sàn nhựa PP của Công ty Nhựa Lập Phương là một loại vật liệu nhựa chất lượng cao, được sản xuất từ polypropylene, một chất liệu nhựa có đặc tính ưu việt. tấm lót sàn nhựa pp có dạng module, giúp việc lắp đặt dễ dàng và linh hoạt. Các tính năng chính của tấm lót sàn nhựa PP bao gồm:

greengardensoap created a Page  -  Jun 23, 2023

When it comes to choosing souvenirs that truly capture the essence of a country, Vietnam offers a wide range of unique and meaningful options. Among these, handmade soap stands out as a special gift that combines artistry, natural ingredients, and cultural significance. In this blog post, we will explore the world of Vietnamese handmade soap as a distinctive souvenir choice. We will delve into the..

WilliamScott2363 created a Page  -  Nov 06, 2022

The top cloud security threats are data theft, data loss, account hacking, interface and Application Programming Interface (API) breaches, DDos attacks, insider attacks, hacker infiltration, and provider-initiated downtime. Protect your cloud infrastructure with https://www.observeid.com/

Nick_Jansson created a Page  -  Aug 29, 2022

Hej alla, mitt namn är Nick, jag älskar att resa och blogga om våra äventyr med min hund Todd och jag är även redaktör för en online casino portal, denna portal berättar gärna var och vilka bonusar som erbjuds av olika svenska casinon till sina kunder. För oss på CasinoSvenskaOnline är det särskilt viktigt att ge dig all viktig information om nätcasinon. Vår webbplats uppdateras dagligen..

TonyCox created a Page  -  May 11, 2021

I have JSON from my server which -

Hawkee created a Page  -  Dec 10, 2014
1 778 

I saw WOW.js on Product Hunt today and thought, "neat, that looks like fun." I'd also had the thought to play around with the Hacker News FireBase API so why not merge the two?

Hawkee created a Page  -  Oct 20, 2014
2 308 

One of our more advanced features here at Hawkee is our markdown page editor. What sets it apart is fluid integration with CodeMirror to quickly and easily add code to a page. There's no fumbling with tabs and no need to paste between fences. This article gives a general overview of how it works.

Hawkee created a Page  -  Oct 03, 2014

This will show you how to handle form errors with Node.js and AngularJS when server-side validation is necessary. It highlights the erroneous field and displays an error message below indicating the problem. This example uses Node.js, Express, Express Validator, AngularJS and Bootstrap 3.

 Respond   HTML5   Javascript  
PennyBreed created a Page  -  Apr 07, 2014
1 374 

While (again) working on my node.js irc client, I needed to sort the array of nicks, prefixed with their respective modes, so I could list them correctly in my nickname list. This likely doesn't encompass all available modes, but more could easily be added. Hope someone else finds it useful.

PennyBreed created a Page  -  Mar 12, 2014
639 

Currently, I'm writing an irc client for myself in node.js, as sort of a proving ground to learning the ins and outs of it. I came to a point where I needed to parse the control codes into HTML, and here's what I came up with.

pimteam created a Page  -  Mar 13, 2013
1 235 

A class to convert km/h to mph and knots and vice-versa. It can also parse speeds in a text and return the text with corrected and converted speeds. See the live demo at http://ultralight-airplanes.info/yspeed.html for better idea what can it do.

FordLawnmower created a Page  -  Feb 23, 2013

This is a mIRC mode for use with {} CodeMirror http://codemirror.net/ Adds syntax highlighting for mSL code. Screenshot:

FordLawnmower created a Page  -  Feb 23, 2013
1 264 

This is a tcl mode for use with {} CodeMirror http://codemirror.net/ Adds syntax highlighting for tcl code. This code is an edit Velocity mode by Steve O'Hara Screenshot:

pimteam created a Page  -  Nov 27, 2012
4 144 

This is a javascript class that converts the HTML 5 Canvas element into interactive drawing board with tools etc. The code below contains the full class, but I recommend downloading the zip from http://re.trotoys.com/article/rocanvas/ because it contains CSS, images and samples. The code is Apache licensed so you can use it on your sites without any issues.

SReject created a Page  -  Nov 12, 2012
1 170 

After looking through coffeescript's code base, I found a method to build objects from other objects. With a bit of tinkering with the methodology of it, I finally got something that not only works as intented but it QUITE transparent in use.

pimteam created a Page  -  Oct 08, 2012

This is rather simple stuff yet I see it so rarely used. In any dating sites, health calculators, DIY stuff calculators etc they ask you to enter weight and height of something (or your own weight and height) only in their preferred measurement system (metric or Imperial). Boring! This simple javascript will convert the units and instantly fill the appropriate fields in the form.

Maximus1983 created a Page  -  Jun 27, 2012
175 

You will need to get an account (http://grabz.it/register.aspx) at GrabzIt once you have this you need to add your authorized domain (http://grabz.it/account/domains.aspx) this stops people using your account resources.

sean created a Page  -  May 29, 2012
1 149 

APGAR is the one-way hashing algorithm all legacy Command and Conquer games use to send and store user passwords. This snippet is a simple port of the PHP version submitted some time ago.

SReject created a Page  -  May 05, 2012
1 232 

A small framework to make html creation a little easier. It uses 'member-stringing' so you can make consecutive member calls on a cEle object

sean created a Page  -  May 03, 2012
1 197 

Thought it would be a neat exercise to recreate the mIRC $gettok() function in javascript as I've seen it popup in several other languages. The only caveat I'm aware of is when passing multiple N parameters (eg: '2-6' or '2-'); it must be in string format. Otherwise javascript will interpret N and pass undesired results (eg: '-4'). If only passing one N parameter, integer use is recommended.

[Plornt] created a Page  -  Mar 25, 2011

I coded this as a small learning exercise for myself, not attempting to make any shortening to the code since Im still fairly new to javascript. I know alot of places I could of optimised (Especially the stupid array method I used to create ball objects - imo should of just made a class or somthing liek it if javascript has that?)

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.